Sigh: /bin/sh on Ubuntu is not bash, it is dash (what a nuisance) and
it doesn't do the "[ ]" thing itself; instead it hands it off to
/usr/bin/[. And that doesn't understand "==" on strings; it wants "="
instead.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8741 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/vg-in-place b/vg-in-place
index 23e8540..a49036d 100755
--- a/vg-in-place
+++ b/vg-in-place
@@ -5,7 +5,7 @@
dollarzero=$0
-if [ "${dollarzero#/}" == "${dollarzero}" ];
+if [ "${dollarzero#/}" = "${dollarzero}" ];
then
# Relative name
scriptname=$PWD/$dollarzero;