]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/find:_invalid_predicate___96__-L__39__.mdwn
rename: Show full names of affected pages.
[ikiwiki.git] / doc / bugs / find:_invalid_predicate___96__-L__39__.mdwn
1 Hi,
2
3 I have a problem with building ikiwiki 2.00 backport for Debian `sarge`,
4 because it seems that my `find` doesn't support `-L` option. I had to patch
5 `Makefile.PL` file to work around it:
6
7     --- Makefile.PL-orig        2007-05-10 15:18:04.000000000 +0200
8     +++ Makefile.PL     2007-05-10 15:18:41.000000000 +0200
9     @@ -47,9 +47,9 @@
10  
11      extra_install:
12         install -d $(DESTDIR)$(PREFIX)/share/ikiwiki
13     -   for dir in `find -L basewiki templates -type d ! -regex '.*\.svn.*'`; do \
14     +   for dir in `find basewiki templates -follow -type d ! -regex '.*\.svn.*'`; do \     
15                 install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
16     -           for file in `find -L $$dir -maxdepth 1 -type f`; do \
17     +           for file in `find $$dir -follow -maxdepth 1 -type f`; do \
18                         install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
19                 done; \
20         done
21
22 -- Pawel
23
24 [[applied|done]], thanks --[[Joey]]
25
26 > Thank you! :) --[[PaweÅ‚|ptecza]]