Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2013-03-21 21:39:05 +0000
committerDavid Williams2013-03-21 21:39:05 +0000
commit10013282e02bf818568aa7df3af3ec06d371ee01 (patch)
treebdb21b67d580d8bd3afd4c93ea77224e05fd3d70 /production/git-submodule-checkout.sh
parent845b4da2f4201706de5acfd0ead849b0518d90ba (diff)
downloadeclipse.platform.releng.aggregator-10013282e02bf818568aa7df3af3ec06d371ee01.tar.gz
eclipse.platform.releng.aggregator-10013282e02bf818568aa7df3af3ec06d371ee01.tar.xz
eclipse.platform.releng.aggregator-10013282e02bf818568aa7df3af3ec06d371ee01.zip
Bug 398256 - [CBI] distinguish N and I builds in repositories.txt
Diffstat (limited to 'production/git-submodule-checkout.sh')
-rw-r--r--production/git-submodule-checkout.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/production/git-submodule-checkout.sh b/production/git-submodule-checkout.sh
index f541af35..4d285271 100644
--- a/production/git-submodule-checkout.sh
+++ b/production/git-submodule-checkout.sh
@@ -9,7 +9,10 @@ VAL=$( grep "^${name}:" "$REPOSITORIES_TXT" | cut -f2 -d" ")
# Here we count on $BUILD_TYPE being exported. TODO: make parameter later?
if [[ -n "$BUILD_TYPE" && "$BUILD_TYPE" == "N" ]]
then
- echo "INFO: Branch forced to master, instead of $VAL, since doing N-Build"
+ if [[ "master" != $VAL ]]
+ then
+ echo "INFO: Branch forced to 'master', instead of '$VAL', since doing N-Build"
+ fi
VAL="master"
fi

Back to the top