summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-07-31 14:00:23 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-07-31 14:20:22 +0200
commit921d4b3a12f752dd3260df5cef9351540ea281b3 (patch)
treebf3aa7f53c12a5530e348c9e4554ee4d88306273
parentbcc7a47121e63d6d448f0696028756b03b2da58a (diff)
downloadptxdist-921d4b3a12f752dd3260df5cef9351540ea281b3.tar.gz
ptxdist-921d4b3a12f752dd3260df5cef9351540ea281b3.tar.xz
ptxd_dgen_rulesfiles: handle rulesdirs that are symbolic linksptxdist-2014.08.0
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-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 f1f83e133..63e3288be 100644
--- a/scripts/lib/ptxd_lib_dgen.sh
+++ b/scripts/lib/ptxd_lib_dgen.sh
@@ -53,7 +53,7 @@ ptxd_dgen_rulesfiles() {
local rulesdir
ptxd_in_path PTXDIST_PATH_RULES || return
for rulesdir in "${ptxd_reply[@]}"; do
- find "${rulesdir}" -mindepth 1 -maxdepth 1 -name "*.make" -a \! -path "*#*"
+ find "${rulesdir}/" -mindepth 1 -maxdepth 1 -name "*.make" -a \! -path "*#*"
done
} | gawk '{
n=gensub(".*/", "", "g");