mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the build script
This commit is contained in:
parent
f019eb303c
commit
764aa9b40a
1 changed files with 3 additions and 1 deletions
|
@ -255,7 +255,9 @@ if [ $SRS_HLS = YES ]; then
|
||||||
|
|
||||||
# copy players to nginx html dir.
|
# copy players to nginx html dir.
|
||||||
rm -rf ${SRS_OBJS}/nginx/html/players &&
|
rm -rf ${SRS_OBJS}/nginx/html/players &&
|
||||||
ln -sf `pwd`/research/players ${SRS_OBJS}/nginx/html/
|
ln -sf `pwd`/research/players ${SRS_OBJS}/nginx/html/players &&
|
||||||
|
rm -f ${SRS_OBJS}/nginx/crossdomain.xml &&
|
||||||
|
ln -sf `pwd`/research/players/crossdomain.xml ${SRS_OBJS}/nginx/html/crossdomain.xml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $SRS_HLS = YES ]; then
|
if [ $SRS_HLS = YES ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue