1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #1537, #1282, support multiple options for --extra-flags

This commit is contained in:
winlin 2019-12-25 17:52:51 +08:00
parent f24694fc65
commit bf807778e5

View file

@ -313,7 +313,7 @@ function parse_user_option_to_value_and_option() {
case "$option" in case "$option" in
-*=*) -*=*)
value=`echo "$option" | sed -e 's|[-_a-zA-Z0-9/]*=||'` value=`echo "$option" | sed -e 's|[-_a-zA-Z0-9/]*=||'`
option=`echo "$option" | sed -e 's|=[-_a-zA-Z0-9/.]*||'` option=`echo "$option" | sed -e 's|=[-_a-zA-Z0-9/. ]*||'`
;; ;;
*) value="" ;; *) value="" ;;
esac esac