diff options
author | Yue Ma | 2014-05-05 15:02:05 +0000 |
---|---|---|
committer | Yue Ma | 2014-05-05 15:02:05 +0000 |
commit | 2d545f2523d4b6eed766c459532a53a6a3414a88 (patch) | |
tree | 099b3e90ccb58abeb5ffba18f033017b226fc9b7 | |
parent | bf0bbfc5f6c43f93a1ef76e51348ba8a46a1db00 (diff) | |
download | org.eclipse.sphinx-2d545f2523d4b6eed766c459532a53a6a3414a88.tar.gz org.eclipse.sphinx-2d545f2523d4b6eed766c459532a53a6a3414a88.tar.xz org.eclipse.sphinx-2d545f2523d4b6eed766c459532a53a6a3414a88.zip |
Use [$variable] to test boolean variable in publish.sh
-rw-r--r-- | releng/org.eclipse.sphinx.releng.builds/publish.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/releng/org.eclipse.sphinx.releng.builds/publish.sh b/releng/org.eclipse.sphinx.releng.builds/publish.sh index d0faff83..63f80fbe 100644 --- a/releng/org.eclipse.sphinx.releng.builds/publish.sh +++ b/releng/org.eclipse.sphinx.releng.builds/publish.sh @@ -31,7 +31,7 @@ if [ "$BUILD_TYPE" = R ]; echo "Release Stream: 0.8.x" fi -if [ "$SITE" ]; +if [ $SITE ]; then # Determine remote update site we want to promote to (integration and stable builds are published on interim update site, release builds on applicable release stream update site) @@ -80,9 +80,9 @@ rm $eclipsePackage cp -R $localUpdateSite/* update-site/ echo "Copied $localUpdateSite to local directory update-site." -if [ "$SITE" ]; +if [ $SITE ]; then - if [ "$MERGE"]; + if [ $MERGE]; then echo "Merging existing site into local one." ./eclipse/eclipse -nosplash --launcher.suppressErrors -clean -debug -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source file:$selectedUpdateSiteAbsolutePath -destination file:update-site |