refine the build script
This commit is contained in:
parent
f019eb303c
commit
764aa9b40a
|
|
@ -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…
Reference in New Issue
Block a user