From 764aa9b40af1130e7a164e331eba5c50336883e2 Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 18 Dec 2013 14:32:47 +0800 Subject: [PATCH] refine the build script --- trunk/auto/depends.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/auto/depends.sh b/trunk/auto/depends.sh index a866c05bd..5bfc75a64 100755 --- a/trunk/auto/depends.sh +++ b/trunk/auto/depends.sh @@ -255,7 +255,9 @@ if [ $SRS_HLS = YES ]; then # copy players to nginx html dir. 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 if [ $SRS_HLS = YES ]; then