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
2014-11-08 20:14:20 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cc811dfc90b4c64aea6f7d80e15c08d90ccbf8a6
cc811dfc
1 parent
805ff7b1
refine script for generate script
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
14 行增加
和
12 行删除
trunk/auto/depends.sh
trunk/auto/depends.sh
查看文件 @
cc811df
...
...
@@ -444,18 +444,20 @@ else
echo
"#undef SRS_AUTO_HTTP_CALLBACK"
>>
$SRS_AUTO_HEADERS_H
fi
echo
"link players to cherrypy static-dir"
rm -rf research/api-server/static-dir/players
&&
ln -sf
`
pwd
`
/research/players research/api-server/static-dir/players
&&
rm -f research/api-server/static-dir/crossdomain.xml
&&
ln -sf
`
pwd
`
/research/players/crossdomain.xml research/api-server/static-dir/crossdomain.xml
&&
rm -rf research/api-server/static-dir/live
&&
mkdir -p
`
pwd
`
/
${
SRS_OBJS
}
/nginx/html/live
&&
ln -sf
`
pwd
`
/
${
SRS_OBJS
}
/nginx/html/live research/api-server/static-dir/live
&&
rm -rf research/api-server/static-dir/forward
&&
mkdir -p
`
pwd
`
/
${
SRS_OBJS
}
/nginx/html/forward
&&
ln -sf
`
pwd
`
/
${
SRS_OBJS
}
/nginx/html/forward research/api-server/static-dir/forward
ret
=
$?
;
if
[[
$ret
-ne 0
]]
;
then
echo
"link players to cherrypy static-dir failed, ret=
$ret
"
;
exit
$ret
;
fi
if
[
$SRS_EXPORT_LIBRTMP_PROJECT
=
NO
]
;
then
echo
"link players to cherrypy static-dir"
rm -rf research/api-server/static-dir/players
&&
ln -sf
`
pwd
`
/research/players research/api-server/static-dir/players
&&
rm -f research/api-server/static-dir/crossdomain.xml
&&
ln -sf
`
pwd
`
/research/players/crossdomain.xml research/api-server/static-dir/crossdomain.xml
&&
rm -rf research/api-server/static-dir/live
&&
mkdir -p
`
pwd
`
/
${
SRS_OBJS
}
/nginx/html/live
&&
ln -sf
`
pwd
`
/
${
SRS_OBJS
}
/nginx/html/live research/api-server/static-dir/live
&&
rm -rf research/api-server/static-dir/forward
&&
mkdir -p
`
pwd
`
/
${
SRS_OBJS
}
/nginx/html/forward
&&
ln -sf
`
pwd
`
/
${
SRS_OBJS
}
/nginx/html/forward research/api-server/static-dir/forward
ret
=
$?
;
if
[[
$ret
-ne 0
]]
;
then
echo
"link players to cherrypy static-dir failed, ret=
$ret
"
;
exit
$ret
;
fi
fi
#####################################################################################
# generate demo index.html
...
...
请
注册
或
登录
后发表评论