Fix bashism.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@185646 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Joerg Sonnenberger 2013-07-04 15:11:10 +00:00
parent 933afa9761
commit 4dca0440f5

View File

@ -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