Commit dd9bfb46 authored by Måns Rullgård's avatar Måns Rullgård

simplify ever so slightly

Originally committed as revision 7970 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2b4c3615
......@@ -1075,7 +1075,7 @@ for opt do
--disable-parsers) disable $PARSER_LIST
;;
--enable-?*|--disable-?*)
eval `echo "${opt#-}" | sed 's/-/action=/;s/-/ option=/;s/-/_/g'`
eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'`
echo "$CMDLINE_SELECT" | grep -q "^ *$option\$" || die_unknown $opt
$action $option
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment