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
parent
4610f5d4a4
commit
59b2b32756
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue