build-aux/lsimports: Fix awk gensub warning

Third argument must be numeric indicating which match to replace.
This error did not exist in previous versions.
master
Mike Gerwitz 2020-07-23 14:31:54 -04:00
parent 4610f5d4a4
commit 59b2b32756
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ grep -H '<\([a-z]\+:\)\?import \+\(package\|path\)=' "$@" \
# otherwise concatenate import with package directory # otherwise concatenate import with package directory
{ {
dir = gensub( /[^/]+.xml/, "", "", $1 ) dir = gensub( /[^/]+.xml/, "", 1, $1 )
path = "/" dir $3 path = "/" dir $3
# resolve parent references # resolve parent references