diff --git a/qb/qb.params.sh b/qb/qb.params.sh index 089043dcef..b23d91d7a9 100644 --- a/qb/qb.params.sh +++ b/qb/qb.params.sh @@ -61,10 +61,10 @@ parse_input() # Parse stuff :V eval "HAVE_$opt=no" ;; --with-*) - arg=${1##--with-} - val=${arg##*=} + arg="${1##--with-}" + val="${arg##*=}" opt_exists "${arg%%=*}" - eval "$opt=$val" + eval "$opt=\"$val\"" ;; -h|--help) print_help; exit 0;; *) print_help; exit 1;;