Fix bashism.

llvm-svn: 185646
This commit is contained in:
Joerg Sonnenberger 2013-07-04 15:11:10 +00:00
parent 80a99478bd
commit 0644627bef
1 changed files with 1 additions and 1 deletions

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