winlin

fix bug of build cherrypy

@@ -346,7 +346,7 @@ if [ $SRS_HTTP_CALLBACK = YES ]; then @@ -346,7 +346,7 @@ if [ $SRS_HTTP_CALLBACK = YES ]; then
346 fi 346 fi
347 # check status 347 # check status
348 ret=$?; if [[ $ret -ne 0 ]]; then echo "build CherryPy-3.2.4 failed, ret=$ret"; exit $ret; fi 348 ret=$?; if [[ $ret -ne 0 ]]; then echo "build CherryPy-3.2.4 failed, ret=$ret"; exit $ret; fi
349 - if [ ! -f ${SRS_OBJS}/nginx/sbin/nginx ]; then echo "build CherryPy-3.2.4 failed."; exit -1; fi 349 + if [ ! -f ${SRS_OBJS}/CherryPy-3.2.4/setup.py ]; then echo "build CherryPy-3.2.4 failed."; exit -1; fi
350 fi 350 fi
351 351
352 if [ $SRS_HTTP_CALLBACK = YES ]; then 352 if [ $SRS_HTTP_CALLBACK = YES ]; then