diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-11-11 14:57:05 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-11-11 14:57:05 +0100 |
commit | 4f1659c3abb2273a3686a32e991613a6a58f2cde (patch) | |
tree | 234534f30f9c1e2e89e1dbef95cb53600e1ae7a0 /scripts | |
parent | a1f643c5c863e940cd50ab278b51bb0a20fc25d1 (diff) | |
download | ptxdist-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.sh | 2 |
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; |