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>
# 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