AGLBRANCH is not defined in this context. 80/23780/2
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 10 Feb 2020 18:48:13 +0000 (18:48 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 10 Feb 2020 18:51:32 +0000 (19:51 +0100)
Use TARGETBRANCH as it is defined in this context.

Bug-AGL: SPEC-2978

Change-Id: Icb1307ff4beef3d80b9e51e81920924b357b9428
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
jjb/common/include-agl-run-test-prepare.sh

index 9cbb926..d53e0ff 100644 (file)
@@ -10,9 +10,9 @@ cd $REPODIR
 
 # clone repo for templates and related utils, add to $PATH for later use
 if [ ! -e releng-scripts ]; then
-    git clone --branch $AGLBRANCH https://git.automotivelinux.org/AGL/releng-scripts
+    git clone --branch $TARGETBRANCH https://git.automotivelinux.org/AGL/releng-scripts
 else
-    (cd releng-scripts; git remote update; git checkout -f origin/$AGLBRANCH)
+    (cd releng-scripts; git remote update; git checkout -f origin/$TARGETBRANCH)
 fi
 
 if [ -e releng-scripts/utils ]; then