Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2016-03-03 10:57:26 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d72b93e58b0ccad4683d50543624d90dab761249
d72b93e5
1 parent
a9ed44cc
fix the sed bug, to compatible with osx
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
17 行增加
和
1 行删除
trunk/auto/depends.sh
trunk/auto/depends.sh
100644 → 100755
查看文件 @
d72b93e
...
...
@@ -362,7 +362,23 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
fi
# the sed command
SED
=
"sed -i"
&&
if
[
$OS_IS_OSX
=
YES
]
;
then
SED
=
"sed -i ''"
;
fi
function
sed_utility
()
{
if
[
$OS_IS_OSX
=
YES
]
;
then
sed -i
''
"
$@
"
else
sed -i
"
$@
"
fi
ret
=
$?
;
if
[[
$ret
-ne 0
]]
;
then
if
[
$OS_IS_OSX
=
YES
]
;
then
echo
"sed -i ''
\"
$@
\"
"
else
echo
"sed -i
\"
$@
\"
"
fi
return
$ret
fi
}
SED
=
"sed_utility"
&&
echo
"SED is
$SED
"
#####################################################################################
# check the os.
...
...
请
注册
或
登录
后发表评论