Fix bashism.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@185646 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
933afa9761
commit
4dca0440f5
@ -12,7 +12,7 @@ currentpath=`pwd`
|
|||||||
origpath=$currentpath
|
origpath=$currentpath
|
||||||
currentdir=`basename $currentpath`
|
currentdir=`basename $currentpath`
|
||||||
while [ $currentdir != "test" ]; do
|
while [ $currentdir != "test" ]; do
|
||||||
if [ $currentdir == "/" ]
|
if [ $currentdir = "/" ]
|
||||||
then
|
then
|
||||||
echo "current directory must be in or under \"test\"."
|
echo "current directory must be in or under \"test\"."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user