summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin f. krafft <madduck@madduck.net>2008-03-18 17:39:06 +0100
committerJoey Hess <joey@kodama.kitenet.net>2008-03-18 12:58:09 -0400
commit36580186a03962d1aed67ae1553988a4eeda0e10 (patch)
tree0b9405021ebed49bcfaf3c0f28fb3a78d29fe3ac
parenta98f624fc31eb3921ac762d4839278765029c100 (diff)
Prevent plugins/.gitignore from being installed
I added a .gitignore file to plugins/ to ignore *.pyc files, and that file is now being installed +x to /usr/lib/ikiwiki/plugins. This commit prevents that by excluding all dot-files under plugins/ from the install. Signed-off-by: martin f. krafft <madduck@madduck.net>
-rwxr-xr-xMakefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 7058142db..dad0fedca 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -62,7 +62,7 @@ extra_install:
done
install -d $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins
- for file in `find plugins -maxdepth 1 -type f`; do \
+ for file in `find plugins -maxdepth 1 -type f ! -wholename plugins/.\*`; do \
install -m 755 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
done; \