winlin

refine the build script

@@ -255,7 +255,9 @@ if [ $SRS_HLS = YES ]; then @@ -255,7 +255,9 @@ if [ $SRS_HLS = YES ]; then
255 255
256 # copy players to nginx html dir. 256 # copy players to nginx html dir.
257 rm -rf ${SRS_OBJS}/nginx/html/players && 257 rm -rf ${SRS_OBJS}/nginx/html/players &&
258 - ln -sf `pwd`/research/players ${SRS_OBJS}/nginx/html/ 258 + ln -sf `pwd`/research/players ${SRS_OBJS}/nginx/html/players &&
  259 + rm -f ${SRS_OBJS}/nginx/crossdomain.xml &&
  260 + ln -sf `pwd`/research/players/crossdomain.xml ${SRS_OBJS}/nginx/html/crossdomain.xml
259 fi 261 fi
260 262
261 if [ $SRS_HLS = YES ]; then 263 if [ $SRS_HLS = YES ]; then