From aac170b75e631ccffff1bc458a1fbe63621d3647 Mon Sep 17 00:00:00 2001 From: winlin Date: Fri, 23 Oct 2020 21:45:32 +0800 Subject: [PATCH] Refine build script --- trunk/auto/depends.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/trunk/auto/depends.sh b/trunk/auto/depends.sh index 56117c11c..e9d33609c 100755 --- a/trunk/auto/depends.sh +++ b/trunk/auto/depends.sh @@ -493,10 +493,10 @@ if [ $SRS_FFMPEG_TOOL = YES ]; then if [[ -f ${SRS_OBJS}/${SRS_PLATFORM}/ffmpeg/bin/ffmpeg ]]; then echo "ffmpeg-4.1 is ok."; else - echo "Warning: No FFmpeg found at /usr/local/bin/ffmpeg"; - echo " please copy it from srs-docker"; - echo " or download from http://ffmpeg.org/download.html"; - echo " or disable it by --without-ffmpeg"; + echo -e "${RED}Error: No FFmpeg found at /usr/local/bin/ffmpeg${BLACK}" + echo -e "${RED} Please copy it from srs-docker${BLACK}" + echo -e "${RED} or download from http://ffmpeg.org/download.html${BLACK}" + echo -e "${RED} or disable it by --without-ffmpeg${BLACK}" exit -1; fi # Always update the links.