Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2016-07-28 04:39:55 -0400
committerAlexander Kurtakov2016-07-28 04:39:55 -0400
commitbb87d69400922d842af2cdcb46b865a77d8495ff (patch)
tree57e933c824fecdbf3889a598632f6b6afa6d937a
parent24607eb68067e6c91f3c5c7a3f9697729f23dc76 (diff)
downloadeclipse.platform.swt-bb87d69400922d842af2cdcb46b865a77d8495ff.tar.gz
eclipse.platform.swt-bb87d69400922d842af2cdcb46b865a77d8495ff.tar.xz
eclipse.platform.swt-bb87d69400922d842af2cdcb46b865a77d8495ff.zip
Bug 497923 - [GTK] build.sh bugfixes and improvementsY20160728-1000
Shell script can't assign variable values in conditional constructs so the double equals is redundant. Moreover it gives a syntax error on older ash/dash or whatever HP-UX builder is using. Change-Id: Ia1916b1ec16a4c1cafc54979336f39cc7065942e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
index 7da48d4f6a..b2a4a8f714 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
@@ -46,7 +46,7 @@ git clean -xdf #If new files were added to repo.
git reset --hard #If existing binary was overwritten.
"
-if [[ "$1" == "-h" || "$1" == "--help" ]]; then
+if [[ "$1" = "-h" || "$1" = "--help" ]]; then
echo "$HELP"
exit
fi

Back to the top