fix PWD mistype

This commit is contained in:
Konstantin Shalygin 2015-11-23 20:02:06 +06:00
parent 43cb1d8763
commit 30d046a6a5
1 changed files with 1 additions and 1 deletions

View File

@ -4234,7 +4234,7 @@ EOF
cwd=$(/bin/pwd) || \
cwd=$RUN_DIR
if [[ "$openssl_location" =~ $(/bin/pwd)/bin ]]; then
OPENSSL_LOCATION="\$PWD/bin/$(basename "$openssl_location")"
OPENSSL_LOCATION="$PWD/bin/$(basename "$openssl_location")"
elif [[ "$openssl_location" =~ $cwd ]] && [[ "$cwd" != '.' ]]; then
OPENSSL_LOCATION="${openssl_location%%$cwd}"
else