From: martin f. krafft Date: Tue, 18 Mar 2008 16:39:06 +0000 (+0100) Subject: Prevent plugins/.gitignore from being installed X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/36580186a03962d1aed67ae1553988a4eeda0e10 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 --- 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; \