summaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorHenrikBrixAndersen <HenrikBrixAndersen@web>2008-08-13 15:28:33 -0400
committerJoey Hess <joey@kitenet.net>2008-08-13 15:28:33 -0400
commit15424d405b8736fa2568c12f7cfca94f34dcf07a (patch)
tree486f794380e729ffe003d6ccac2b9635313339b1 /doc/bugs
parente43c3ebeced67735d4946d29eaadac992f093dc5 (diff)
Add wish about not using 'cp -a'
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/Please_avoid_using___39__cp_-a__39___in_Makefile.PL.mdwn14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/bugs/Please_avoid_using___39__cp_-a__39___in_Makefile.PL.mdwn b/doc/bugs/Please_avoid_using___39__cp_-a__39___in_Makefile.PL.mdwn
new file mode 100644
index 000000000..5f556783b
--- /dev/null
+++ b/doc/bugs/Please_avoid_using___39__cp_-a__39___in_Makefile.PL.mdwn
@@ -0,0 +1,14 @@
+In ikiwiki-2.60, external plug-ins are yet again installed using 'cp -a' instead of 'install -m 755'. This poses a problem on at least FreeBSD 6.x, since the cp(1) command doesn't support the '-a' flag.
+
+The change in question (from 2.56 to 2.60) can be seen here:
+
+ - for file in `find plugins -maxdepth 1 -type f ! -wholename plugins/.\*`; do \
+ - install -m 755 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
+ - done; \
+ + for file in `find plugins -maxdepth 1 -type f ! -wholename plugins/.\* | grep -v demo`; do \
+ + cp -a $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
+ + done \
+
+Please restore the old behaviour of using 'install' :-)
+
+ -- [[HenrikBrixAndersen]]