Browse files

Avoid a GNUism in find(1).

(cherry picked from commit 9659272)
  • Loading branch information...
1 parent ee97517 commit 0c2841349b083b5bf549c2d1f1b44514a79b5a38 @schmonz schmonz committed with Feb 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile.PL
View
2 Makefile.PL
@@ -75,7 +75,7 @@ underlay_install:
install -d $(DESTDIR)$(PREFIX)/share/ikiwiki
for dir in `cd underlays && $(FIND) . -follow -type d`; do \
install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
- for file in `$(FIND) underlays/$$dir -follow -maxdepth 1 -type f -not -name \\*.full.js -not -name \\*.full.css`; do \
+ for file in `$(FIND) underlays/$$dir -follow -maxdepth 1 -type f ! -name \\*.full.js ! -name \\*.full.css`; do \
cp -pRL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir 2>/dev/null || \
install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
done; \

0 comments on commit 0c28413

Please sign in to comment.