mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
configure: fix handling of option arguments containing = sign
Originally committed as revision 15656 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
31c4f07017
commit
884a36a78b
2
configure
vendored
2
configure
vendored
@ -1104,7 +1104,7 @@ for opt do
|
|||||||
--help|-h) show_help
|
--help|-h) show_help
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
optname="${opt%=*}"
|
optname="${opt%%=*}"
|
||||||
optname="${optname#--}"
|
optname="${optname#--}"
|
||||||
optname=$(echo "$optname" | sed 's/-/_/g')
|
optname=$(echo "$optname" | sed 's/-/_/g')
|
||||||
is_in $optname $CMDLINE_SET || die_unknown $opt
|
is_in $optname $CMDLINE_SET || die_unknown $opt
|
||||||
|
Loading…
Reference in New Issue
Block a user