summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-11-11 14:57:05 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-11-11 14:57:05 +0100
commit4f1659c3abb2273a3686a32e991613a6a58f2cde (patch)
tree234534f30f9c1e2e89e1dbef95cb53600e1ae7a0 /scripts
parenta1f643c5c863e940cd50ab278b51bb0a20fc25d1 (diff)
downloadptxdist-4f1659c3abb2273a3686a32e991613a6a58f2cde.tar.gz
ptxdist-4f1659c3abb2273a3686a32e991613a6a58f2cde.tar.xz
[ptxd_lib_dgen] use gawk because 'gensub()' is not POSIX awk
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/ptxd_lib_dgen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.sh b/scripts/lib/ptxd_lib_dgen.sh
index a0527ca65..a452b9126 100644
--- a/scripts/lib/ptxd_lib_dgen.sh
+++ b/scripts/lib/ptxd_lib_dgen.sh
@@ -49,7 +49,7 @@ ptxd_dgen_rulesfiles() {
fi
find "${rulesdir}" -mindepth 1 -maxdepth 1 -name "*.make" -a \! -path "*#*"
done
- } | awk '{
+ } | gawk '{
n=gensub(".*/", "", "g");
if (!(n in names))
print "include", $0;