From 12ba584ea33673600040e0208925ad43b7cfb57a Mon Sep 17 00:00:00 2001 From: winlin Date: Fri, 9 Jul 2021 09:00:35 +0800 Subject: [PATCH] Fix build failed --- trunk/auto/auto_headers.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/trunk/auto/auto_headers.sh b/trunk/auto/auto_headers.sh index 5b8fab853..d1d650b42 100755 --- a/trunk/auto/auto_headers.sh +++ b/trunk/auto/auto_headers.sh @@ -182,11 +182,10 @@ echo "" >> $SRS_AUTO_HEADERS_H ##################################################################################### # generated the contributors from AUTHORS.txt ##################################################################################### -if [[ -f AUTHORS.txt ]]; then - RTMP_SIG_SRS_AUTHORS=`cat AUTHORS.txt|grep "^-"|awk -F '`' '{print $2}'` +if [[ -f AUTHORS.md ]]; then + RTMP_SIG_SRS_AUTHORS=$(cat AUTHORS.md|grep "^-"|awk -F '`' '{print $2}') echo "#define RTMP_SIG_SRS_AUTHORS \"\\" >> $SRS_AUTO_HEADERS_H for CONTRIBUTOR in $RTMP_SIG_SRS_AUTHORS; do - CONTRIBUTOR=`echo $CONTRIBUTOR|sed 's/@users.noreply.github.com>/@github>/g'` echo "${CONTRIBUTOR} \\" >> $SRS_AUTO_HEADERS_H done echo "\"" >> $SRS_AUTO_HEADERS_H