mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix the sed command for arm
This commit is contained in:
parent
45385241bb
commit
e08beba89e
2 changed files with 3 additions and 4 deletions
|
@ -361,6 +361,9 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
|
|||
OSX_prepare; ret=$?; if [[ 0 -ne $ret ]]; then echo "OSX prepare failed, ret=$ret"; exit $ret; fi
|
||||
fi
|
||||
|
||||
# the sed command
|
||||
SED="sed -i" && if [ $OS_IS_OSX = YES ]; then SED="sed -i ''"; fi
|
||||
|
||||
#####################################################################################
|
||||
# check the os.
|
||||
#####################################################################################
|
||||
|
|
|
@ -28,7 +28,3 @@ if [[ -z $SrsArmCXX ]]; then SrsArmCXX=$__SrsArmCXX; fi
|
|||
if [[ -z $SrsArmAR ]]; then SrsArmAR=$__SrsArmAR; fi
|
||||
if [[ -z $SrsArmLD ]]; then SrsArmLD=$__SrsArmLD; fi
|
||||
if [[ -z $SrsArmRANDLIB ]]; then SrsArmRANDLIB=$__SrsArmRANDLIB; fi
|
||||
|
||||
# the sed command
|
||||
SED="sed -i"
|
||||
if [ $OS_IS_OSX = YES ]; then SED="sed -i ''"; fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue