1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00

Refine build script

This commit is contained in:
winlin 2020-10-23 21:45:32 +08:00
parent 0a09b53fc1
commit aac170b75e

View file

@ -493,10 +493,10 @@ if [ $SRS_FFMPEG_TOOL = YES ]; then
if [[ -f ${SRS_OBJS}/${SRS_PLATFORM}/ffmpeg/bin/ffmpeg ]]; then if [[ -f ${SRS_OBJS}/${SRS_PLATFORM}/ffmpeg/bin/ffmpeg ]]; then
echo "ffmpeg-4.1 is ok."; echo "ffmpeg-4.1 is ok.";
else else
echo "Warning: No FFmpeg found at /usr/local/bin/ffmpeg"; echo -e "${RED}Error: No FFmpeg found at /usr/local/bin/ffmpeg${BLACK}"
echo " please copy it from srs-docker"; echo -e "${RED} Please copy it from srs-docker${BLACK}"
echo " or download from http://ffmpeg.org/download.html"; echo -e "${RED} or download from http://ffmpeg.org/download.html${BLACK}"
echo " or disable it by --without-ffmpeg"; echo -e "${RED} or disable it by --without-ffmpeg${BLACK}"
exit -1; exit -1;
fi fi
# Always update the links. # Always update the links.