winlin

update depends script

@@ -243,7 +243,8 @@ if [ $SRS_HLS = YES ]; then @@ -243,7 +243,8 @@ if [ $SRS_HLS = YES ]; then
243 sed -i "s/^.user nobody;/user `whoami`;/g" ${SRS_OBJS}/nginx/conf/nginx.conf 243 sed -i "s/^.user nobody;/user `whoami`;/g" ${SRS_OBJS}/nginx/conf/nginx.conf
244 244
245 # create forward dir 245 # create forward dir
246 - mkdir -p ${SRS_OBJS}/nginx/html/forward 246 + mkdir -p ${SRS_OBJS}/nginx/html/live &&
  247 + mkdir -p ${SRS_OBJS}/nginx/html/forward/live
247 248
248 # generate default html pages for android. 249 # generate default html pages for android.
249 html_file=${SRS_OBJS}/nginx/html/live/livestream.html && hls_stream=livestream.m3u8 && write_nginx_html5 250 html_file=${SRS_OBJS}/nginx/html/live/livestream.html && hls_stream=livestream.m3u8 && write_nginx_html5