travis: set tag variable to default

Fix bug found by Dirk Zimoch: set the <MODULE> variable to the default instead of just using the default value when unset.
This commit is contained in:
Ralph Lange
2019-12-09 09:43:49 +01:00
parent 40fe8f3852
commit 1d4d6cc617

View File

@@ -37,7 +37,7 @@ fold_start check.out.dependencies "Checking/cloning dependencies"
for mod in BASE $MODULES for mod in BASE $MODULES
do do
mod_uc=$(echo $mod | tr 'a-z' 'A-Z') 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 done
[ -e ./configure ] && cp ${CACHEDIR}/RELEASE.local ./configure/RELEASE.local [ -e ./configure ] && cp ${CACHEDIR}/RELEASE.local ./configure/RELEASE.local