1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00

refine script for pi.

This commit is contained in:
winlin 2015-03-20 18:08:00 +08:00
parent 720230b5f3
commit 612c544d70

View file

@ -300,8 +300,8 @@ function OSX_prepare()
OSX_prepare; ret=$?; if [[ 0 -ne $ret ]]; then echo "OSX prepare failed, ret=$ret"; exit $ret; fi
# by winlin, disable other system.
if [[ $OS_IS_UBUNTU = NO && $OS_IS_CENTOS = NO && $SRS_EMBEDED_CPU = NO ]]; then
echo "only support Centos and Ubuntu, actual is `uname -s`"
if [[ $OS_IS_UBUNTU = NO && $OS_IS_CENTOS = NO && SRS_PI = NO && $SRS_EMBEDED_CPU = NO ]]; then
echo "only support Centos/Ubuntu/RaspberryPi, actual is `uname -s`"
exit 1
fi