]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Sigh: /bin/sh on Ubuntu is not bash, it is dash (what a nuisance) and
authorJulian Seward <jseward@acm.org>
Sat, 8 Nov 2008 15:11:03 +0000 (15:11 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 8 Nov 2008 15:11:03 +0000 (15:11 +0000)
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

vg-in-place

index 23e85407be0968be19da3bd0ed3537bac5219735..a49036de996515fdf78e4505f827a6d403230e9c 100755 (executable)
@@ -5,7 +5,7 @@
 
 dollarzero=$0
 
-if [ "${dollarzero#/}" == "${dollarzero}" ];
+if [ "${dollarzero#/}" = "${dollarzero}" ];
 then
    # Relative name
    scriptname=$PWD/$dollarzero;