mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +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…
x
Reference in New Issue
Block a user