]> granicus.if.org Git - clang/commitdiff
Remove bashism; sh != bash on Ubuntu.
authorEli Friedman <eli.friedman@gmail.com>
Sun, 27 Jul 2008 05:05:07 +0000 (05:05 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sun, 27 Jul 2008 05:05:07 +0000 (05:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54118 91177308-0d34-0410-b5e6-96231b3b80d8

test/TestRunner.sh

index 36cec72996a57cce56b5ed6dbb6787f0f0659b03..767d9660d584331d3826495e25ca5b1133ae4579 100755 (executable)
@@ -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