mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
parent
f24694fc65
commit
bf807778e5
1 changed files with 2 additions and 2 deletions
|
@ -312,8 +312,8 @@ function parse_user_option() {
|
|||
function parse_user_option_to_value_and_option() {
|
||||
case "$option" in
|
||||
-*=*)
|
||||
value=`echo "$option" | sed -e 's|[-_a-zA-Z0-9/]*=||'`
|
||||
option=`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/. ]*||'`
|
||||
;;
|
||||
*) value="" ;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue