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:
parent
0a7026a485
commit
f263cb9f49
|
@ -845,7 +845,7 @@ git_last_commit() {
|
||||||
|
|
||||||
get_maintainer() {
|
get_maintainer() {
|
||||||
if [ -z "$maintainer" ]; then
|
if [ -z "$maintainer" ]; then
|
||||||
maintainer=$(awk -F': ' '/\# *Maintainer/ {print $2}' "$APKBUILD")
|
maintainer=$(awk -F': ' '/# *Maintainer/ {print $2}' "$APKBUILD")
|
||||||
# remove surrounding whitespace
|
# remove surrounding whitespace
|
||||||
maintainer=$(echo "$maintainer" | xargs)
|
maintainer=$(echo "$maintainer" | xargs)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue