Permalink
Browse files

Remove unnecessary "-p" parameter from cp command in Makefiles, to fi…

…x checkinstall failure
  • Loading branch information...
dholbert committed Feb 28, 2011
1 parent d44e590 commit 4c7808c5cb4f75927815f7d80272bfb618035acd
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile.in
  2. +1 −1 modules/Makefile.in
View
@@ -107,7 +107,7 @@ install: znc $(LIBZNC)
mkdir -p $(DESTDIR)$(PKGCONFIGDIR)
mkdir -p $(DESTDIR)$(MODDIR)
mkdir -p $(DESTDIR)$(DATADIR)
- cp -Rp $(srcdir)/webskins $(DESTDIR)$(DATADIR)
+ cp -R $(srcdir)/webskins $(DESTDIR)$(DATADIR)
find $(DESTDIR)$(DATADIR)/webskins -type d -exec chmod 0755 '{}' \;
find $(DESTDIR)$(DATADIR)/webskins -type f -exec chmod 0644 '{}' \;
$(INSTALL_PROGRAM) znc $(DESTDIR)$(bindir)
View
@@ -105,7 +105,7 @@ install_metadirs: create_install_dir
for a in $(srcdir)/*; do \
d=$$(echo $$a | sed -e "s:$(srcdir)/::g;s:modperl::;s:modpython::"); \
if [ -d $$a ] && [ -f $${d}.so ]; then \
- cp -Rp $$a $(DESTDIR)$(DATADIR); \
+ cp -R $$a $(DESTDIR)$(DATADIR); \
fi \
done

0 comments on commit 4c7808c

Please sign in to comment.