osmith has uploaded this change for review.

View Change

coverity: use proper asn1c branch

Change-Id: I556b0cc038121b9405556f316d71c0fc75f7d177
---
M coverity/prepare_source_Osmocom.sh
1 file changed, 12 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/89/39389/1
diff --git a/coverity/prepare_source_Osmocom.sh b/coverity/prepare_source_Osmocom.sh
index d7ac90b..99fcd23 100755
--- a/coverity/prepare_source_Osmocom.sh
+++ b/coverity/prepare_source_Osmocom.sh
@@ -61,8 +61,19 @@

for proj in $PROJECTS $PROJECTS_DONT_BUILD_TEST; do
if [ -d $proj ]; then
+ case "$proj" in
+ asn1c)
+ # For asn1c, we use the osmo-iuh/master branch:
+ # https://osmocom.org/projects/osmohnbgw/wiki/Generate_sources_from_ASN1_files
+ branch="osmo-iuh/master"
+ ;;
+ *)
+ branch="master"
+ ;;
+ esac
+
if [ -z "$SRC_SKIP_FETCH" ]; then
- (cd $proj && git fetch && git checkout -f -B master origin/master && git submodule update --recursive --remote)
+ (cd $proj && git fetch && git checkout -f -B "$branch" origin/"$branch" && git submodule update --recursive --remote)
fi
if [ -n "$SRC_CLEAN" ]; then
git -C "$proj" clean -ffxd

To view, visit change 39389. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I556b0cc038121b9405556f316d71c0fc75f7d177
Gerrit-Change-Number: 39389
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>