mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +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
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue