From 59b2b32756944202a7009295d4873bbab0c09220 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 23 Jul 2020 14:31:54 -0400 Subject: [PATCH] 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. --- build-aux/lsimports | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/lsimports b/build-aux/lsimports index 611a4e9e..64a200eb 100755 --- a/build-aux/lsimports +++ b/build-aux/lsimports @@ -39,7 +39,7 @@ grep -H '<\([a-z]\+:\)\?import \+\(package\|path\)=' "$@" \ # otherwise concatenate import with package directory { - dir = gensub( /[^/]+.xml/, "", "", $1 ) + dir = gensub( /[^/]+.xml/, "", 1, $1 ) path = "/" dir $3 # resolve parent references