mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine comments.
This commit is contained in:
parent
ad1197e706
commit
a4160308f5
3 changed files with 13 additions and 17 deletions
|
@ -428,15 +428,15 @@ SED="sed_utility" && echo "SED is $SED"
|
|||
#####################################################################################
|
||||
# check the os.
|
||||
#####################################################################################
|
||||
# user must specifies something what a fuck, we suppport following os:
|
||||
# centos/ubuntu/osx,
|
||||
# Only supports:
|
||||
# linux, centos/ubuntu as such,
|
||||
# cross build for embeded system, for example, mips or arm,
|
||||
# directly build on arm/mips, for example, pi or cubie,
|
||||
# export srs-librtmp
|
||||
# others is invalid.
|
||||
if [[ $OS_IS_UBUNTU = NO && $OS_IS_CENTOS = NO && $OS_IS_OSX = NO && $SRS_EXPORT_LIBRTMP_PROJECT = NO ]]; then
|
||||
if [[ $SRS_PI = NO && $SRS_CUBIE = NO && $SRS_CROSS_BUILD = NO ]]; then
|
||||
echo "What a fuck, your OS `uname -s` is not supported."
|
||||
echo "Your OS `uname -s` is not supported."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue