Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@ryansg.com>2020-07-23 14:31:54 -0400
committerMike Gerwitz <mike.gerwitz@ryansg.com>2020-07-23 14:31:54 -0400
commit59b2b32756944202a7009295d4873bbab0c09220 (patch)
tree8e447ff9adcfd86882131b569ed5fb3d684bc98e
parent4610f5d4a45b52de9cc350c72d0c3e05f990836d (diff)
downloadtame-59b2b32756944202a7009295d4873bbab0c09220.tar.gz
tame-59b2b32756944202a7009295d4873bbab0c09220.tar.bz2
tame-59b2b32756944202a7009295d4873bbab0c09220.zip
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.
-rwxr-xr-xbuild-aux/lsimports2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/lsimports b/build-aux/lsimports
index 611a4e9..64a200e 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