fix bash bracket string contains

pull/160/head
toddouska 2015-10-05 15:43:38 -07:00
parent 750302dd2e
commit 3dda2965bd
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ command -v openssl >/dev/null 2>&1 || { echo >&2 "Requires openssl command, but
echo -e "\nTesting for _build directory as part of distcheck, different paths" echo -e "\nTesting for _build directory as part of distcheck, different paths"
currentDir=`pwd` currentDir=`pwd`
if [ $currentDir == *"_build" ] if [[ $currentDir == *"_build" ]]
then then
echo -e "_build directory detected, moving a directory back" echo -e "_build directory detected, moving a directory back"
cd .. cd ..