1
0
Fork 0
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:
niesongsong 2014-05-12 10:56:36 +08:00
parent add64533e3
commit 327f030ef5

View file

@ -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