mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 22:20:31 +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"
|
eval "HAVE_$opt=no"
|
||||||
;;
|
;;
|
||||||
--with-*)
|
--with-*)
|
||||||
arg=${1##--with-}
|
arg="${1##--with-}"
|
||||||
val=${arg##*=}
|
val="${arg##*=}"
|
||||||
opt_exists "${arg%%=*}"
|
opt_exists "${arg%%=*}"
|
||||||
eval "$opt=$val"
|
eval "$opt=\"$val\""
|
||||||
;;
|
;;
|
||||||
-h|--help) print_help; exit 0;;
|
-h|--help) print_help; exit 0;;
|
||||||
*) print_help; exit 1;;
|
*) print_help; exit 1;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user