summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 64cac540..48347f1a 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ install:
for l in $(WIZ); do \
$(MAKE) -C $$l $@; \
done
- find $(WIZ_HOME) ".*\.wiz$$\|.*.pm$$\|.*\.sh$$" -exec \
+ find $(WIZ_HOME) -type f -regex ".*\.wiz$$\|.*.pm$$\|.*\.sh$$" -exec \
perl -i -pe "s|__WIZ_HOME__|$(WIZ_HOME)|g" \{\} \;
perl -i -pe "s|__WIZ_HOME__|$(WIZ_HOME)|g" drakwizard.pl