abuild.in: fix warning with gawk-5.0

awk: cmd. line:1: warning: regexp escape sequence `\#' is not a known regexp operator
This commit is contained in:
Leo 2019-04-29 19:56:31 -03:00 committed by Natanael Copa
parent 0a7026a485
commit f263cb9f49
1 changed files with 1 additions and 1 deletions

View File

@ -845,7 +845,7 @@ git_last_commit() {
get_maintainer() {
if [ -z "$maintainer" ]; then
maintainer=$(awk -F': ' '/\# *Maintainer/ {print $2}' "$APKBUILD")
maintainer=$(awk -F': ' '/# *Maintainer/ {print $2}' "$APKBUILD")
# remove surrounding whitespace
maintainer=$(echo "$maintainer" | xargs)
fi