From 3dda2965bd304f7789deaebcf3cb7e89f0f1c5fd Mon Sep 17 00:00:00 2001 From: toddouska Date: Mon, 5 Oct 2015 15:43:38 -0700 Subject: [PATCH] fix bash bracket string contains --- scripts/openssl.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/openssl.test b/scripts/openssl.test index 7b4dc2da4..159214881 100755 --- a/scripts/openssl.test +++ b/scripts/openssl.test @@ -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" currentDir=`pwd` -if [ $currentDir == *"_build" ] +if [[ $currentDir == *"_build" ]] then echo -e "_build directory detected, moving a directory back" cd ..