From a39b64e443a2e5d77ab23caaf390980c9af5223d Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 5 Jun 2014 11:45:44 +0200 Subject: [PATCH] Fix multiword --with- arguments. --- qb/qb.params.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;;