From 1d4d6cc6176f86f58d45aeff5e3f3049c16d4a30 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Mon, 9 Dec 2019 09:43:49 +0100 Subject: [PATCH] travis: set tag variable to default Fix bug found by Dirk Zimoch: set the variable to the default instead of just using the default value when unset. --- travis/prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis/prepare.sh b/travis/prepare.sh index e04a910..e4770e2 100755 --- a/travis/prepare.sh +++ b/travis/prepare.sh @@ -37,7 +37,7 @@ fold_start check.out.dependencies "Checking/cloning dependencies" for mod in BASE $MODULES do mod_uc=$(echo $mod | tr 'a-z' 'A-Z') - eval add_dependency $mod_uc \${${mod_uc}:-master} + eval add_dependency $mod_uc \${${mod_uc}:=master} done [ -e ./configure ] && cp ${CACHEDIR}/RELEASE.local ./configure/RELEASE.local