forked from OSchip/llvm-project
parent
80a99478bd
commit
0644627bef
|
@ -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…
Reference in New Issue