From: Julian Seward Date: Sat, 8 Nov 2008 15:11:03 +0000 (+0000) Subject: Sigh: /bin/sh on Ubuntu is not bash, it is dash (what a nuisance) and X-Git-Tag: svn/VALGRIND_3_4_0~153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=655e5db3df7a6200ac1a59853dd413d31235ab05;p=thirdparty%2Fvalgrind.git 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 --- diff --git a/vg-in-place b/vg-in-place index 23e85407be..a49036de99 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;