summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-12-28 00:35:09 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-12-28 02:15:35 +0100
commit2d64a7ce1c9d3468c65cdcaa9b22bd408b8b311c (patch)
tree3b6cfe45ec18f1ce7b19032eeef7504a0b1348b3 /scripts/lib
parent0d1005ce15f0b9a8f13e46d70f9f510e8e40ffce (diff)
downloadptxdist-2d64a7ce1c9d3468c65cdcaa9b22bd408b8b311c.tar.gz
ptxdist-2d64a7ce1c9d3468c65cdcaa9b22bd408b8b311c.tar.xz
ptxd_make_world_install_mangle_pc: fix warnings
Just like 99df263919d3ea8ae8ed3aeb873eeab19fa01945 but for ptxd_make_world_install_mangle_pc.awk Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/ptxd_make_world_install_mangle_pc.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_install_mangle_pc.awk b/scripts/lib/ptxd_make_world_install_mangle_pc.awk
index a1f040846..b569e8a61 100644
--- a/scripts/lib/ptxd_make_world_install_mangle_pc.awk
+++ b/scripts/lib/ptxd_make_world_install_mangle_pc.awk
@@ -33,7 +33,7 @@ FNR == 1 {
#
# first remove pkg_pkg_dir
#
- prefix = gensub(this_regex, "\\1", "", FILENAME);
+ prefix = gensub(this_regex, "\\1", 1, FILENAME);
replace[prefix "include"] = replace["includedir"];
replace[prefix "lib"] = replace["libdir"];