[libcxx] r185646 - Fix bashism.

Joerg Sonnenberger joerg at bec.de
Thu Jul 4 08:11:10 PDT 2013


Author: joerg
Date: Thu Jul  4 10:11:10 2013
New Revision: 185646

URL: http://llvm.org/viewvc/llvm-project?rev=185646&view=rev
Log:
Fix bashism.

Modified:
    libcxx/trunk/test/testit

Modified: libcxx/trunk/test/testit
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/testit?rev=185646&r1=185645&r2=185646&view=diff
==============================================================================
--- libcxx/trunk/test/testit (original)
+++ libcxx/trunk/test/testit Thu Jul  4 10:11:10 2013
@@ -12,7 +12,7 @@ currentpath=`pwd`
 origpath=$currentpath
 currentdir=`basename $currentpath`
 while [ $currentdir != "test" ]; do
-	if [ $currentdir == "/" ]
+	if [ $currentdir = "/" ]
 	then
 		echo "current directory must be in or under \"test\"."
 		exit 1





More information about the cfe-commits mailing list