[cfe-commits] r54118 - /cfe/trunk/test/TestRunner.sh
Eli Friedman
eli.friedman at gmail.com
Sat Jul 26 22:05:08 PDT 2008
Author: efriedma
Date: Sun Jul 27 00:05:07 2008
New Revision: 54118
URL: http://llvm.org/viewvc/llvm-project?rev=54118&view=rev
Log:
Remove bashism; sh != bash on Ubuntu.
Modified:
cfe/trunk/test/TestRunner.sh
Modified: cfe/trunk/test/TestRunner.sh
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/TestRunner.sh?rev=54118&r1=54117&r2=54118&view=diff
==============================================================================
--- cfe/trunk/test/TestRunner.sh (original)
+++ cfe/trunk/test/TestRunner.sh Sun Jul 27 00:05:07 2008
@@ -42,7 +42,7 @@
# 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
More information about the cfe-commits
mailing list