From: Eli Friedman Date: Sun, 27 Jul 2008 05:05:07 +0000 (+0000) Subject: Remove bashism; sh != bash on Ubuntu. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fde9fe7c314c425247ad5cccccc58a1c06fc718d;p=clang Remove bashism; sh != bash on Ubuntu. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54118 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/TestRunner.sh b/test/TestRunner.sh index 36cec72996..767d9660d5 100755 --- a/test/TestRunner.sh +++ b/test/TestRunner.sh @@ -42,7 +42,7 @@ grep -q 'RUN:' $FILENAME || ( # Run under valgrind if the VG environment variable has been set. CLANG=$CLANG -if [ "$CLANG" == "" ]; then +if [ ! -n "$CLANG" ]; then CLANG="clang" fi if [ -n "$VG" ]; then