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
This commit is contained in:
Julian Seward 2008-11-08 15:11:03 +00:00
parent 5319fd78d6
commit 655e5db3df

View File

@ -5,7 +5,7 @@
dollarzero=$0
if [ "${dollarzero#/}" == "${dollarzero}" ];
if [ "${dollarzero#/}" = "${dollarzero}" ];
then
# Relative name
scriptname=$PWD/$dollarzero;