mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
Update options.sh
fix options bug like: --prefix=../bin
This commit is contained in:
parent
add64533e3
commit
327f030ef5
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ 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/]*||'`
|
||||
option=`echo "$option" | sed -e 's|=[-_a-zA-Z0-9/.]*||'`
|
||||
;;
|
||||
*) value="" ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue