mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 07:16:36 +00:00
Fix multiword --with- arguments.
This commit is contained in:
parent
247059ad4d
commit
a39b64e443
@ -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;;
|
||||
|
Loading…
Reference in New Issue
Block a user