mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix build failed
This commit is contained in:
parent
dca0397c47
commit
12ba584ea3
1 changed files with 2 additions and 3 deletions
|
@ -182,11 +182,10 @@ echo "" >> $SRS_AUTO_HEADERS_H
|
||||||
#####################################################################################
|
#####################################################################################
|
||||||
# generated the contributors from AUTHORS.txt
|
# generated the contributors from AUTHORS.txt
|
||||||
#####################################################################################
|
#####################################################################################
|
||||||
if [[ -f AUTHORS.txt ]]; then
|
if [[ -f AUTHORS.md ]]; then
|
||||||
RTMP_SIG_SRS_AUTHORS=`cat AUTHORS.txt|grep "^-"|awk -F '`' '{print $2}'`
|
RTMP_SIG_SRS_AUTHORS=$(cat AUTHORS.md|grep "^-"|awk -F '`' '{print $2}')
|
||||||
echo "#define RTMP_SIG_SRS_AUTHORS \"\\" >> $SRS_AUTO_HEADERS_H
|
echo "#define RTMP_SIG_SRS_AUTHORS \"\\" >> $SRS_AUTO_HEADERS_H
|
||||||
for CONTRIBUTOR in $RTMP_SIG_SRS_AUTHORS; do
|
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
|
echo "${CONTRIBUTOR} \\" >> $SRS_AUTO_HEADERS_H
|
||||||
done
|
done
|
||||||
echo "\"" >> $SRS_AUTO_HEADERS_H
|
echo "\"" >> $SRS_AUTO_HEADERS_H
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue