summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2018-07-12 16:06:11 -0400
committerStephan Herrmann2018-07-12 16:06:11 -0400
commitc1d17c940cd9e04b3b842dc49bac2a96b53cfb64 (patch)
treea450f9ab71d3d5bef6935a0252465e0700a29dac
parent8d11cf98a62c65e63ad9fa5c7f6a0bc4a5cbcb43 (diff)
downloadorg.eclipse.objectteams-c1d17c940cd9e04b3b842dc49bac2a96b53cfb64.tar.gz
org.eclipse.objectteams-c1d17c940cd9e04b3b842dc49bac2a96b53cfb64.tar.xz
org.eclipse.objectteams-c1d17c940cd9e04b3b842dc49bac2a96b53cfb64.zip
Bug 536733 - latest org.eclipse.equinox.console was not published at
maven central - fixed the loop Change-Id: I72fc85220971af36cbdaaa96c4d5247a5bcde118
-rw-r--r--releng/EnrichPoms/publishPlatform.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/releng/EnrichPoms/publishPlatform.sh b/releng/EnrichPoms/publishPlatform.sh
index f889b289b..72bd71ef4 100644
--- a/releng/EnrichPoms/publishPlatform.sh
+++ b/releng/EnrichPoms/publishPlatform.sh
@@ -54,11 +54,13 @@ function same_as_baseline() {
local base_single
while read -d "," base_single
do
- if [ $base_single == $version ]
- then
+ if [ $base_single == $version ]; then
return 0
fi
done <<< "$base_versions"
+ if [ $base_single == $version ]; then
+ return 0
+ fi
else
echo "Plug-in ${name}: ${version} seems to be new"
return 1