diff --git a/pkgsrc-newprefix b/pkgsrc-newprefix index 685f30d..f7f3511 100755 --- a/pkgsrc-newprefix +++ b/pkgsrc-newprefix @@ -134,7 +134,7 @@ EOF exit 1 fi -elif [ -n "usebash" -a type bash >/dev/null 2>&1 ]; then +elif [ -n "$usebash" ] && type bash >/dev/null 2>&1; then export CONFIG_SHELL=`which bash` export WRAPPER_SHELL=$CONFIG_SHELL fi