From fde9fe7c314c425247ad5cccccc58a1c06fc718d Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Sun, 27 Jul 2008 05:05:07 +0000 Subject: [PATCH] Remove bashism; sh != bash on Ubuntu. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54118 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/TestRunner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1