mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2024-11-30 07:10:33 +00:00
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
|
||||
currentdir=`basename $currentpath`
|
||||
while [ $currentdir != "test" ]; do
|
||||
if [ $currentdir == "/" ]
|
||||
if [ $currentdir = "/" ]
|
||||
then
|
||||
echo "current directory must be in or under \"test\"."
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user