mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
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:
parent
5319fd78d6
commit
655e5db3df
@ -5,7 +5,7 @@
|
||||
|
||||
dollarzero=$0
|
||||
|
||||
if [ "${dollarzero#/}" == "${dollarzero}" ];
|
||||
if [ "${dollarzero#/}" = "${dollarzero}" ];
|
||||
then
|
||||
# Relative name
|
||||
scriptname=$PWD/$dollarzero;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user