summaryrefslogtreecommitdiff
path: root/pkgtools/rc.subr
diff options
context:
space:
mode:
authortv <tv>2005-01-06 05:32:29 +0000
committertv <tv>2005-01-06 05:32:29 +0000
commit2e70faa486c0d3b473cd82d89e10c97818b3f6ee (patch)
tree3e0e17bdc7871a29a0ce9d23a71ea27bc88ac783 /pkgtools/rc.subr
parent7ee37562d140b9a9347b84b918b1a0908ee5fd16 (diff)
downloadpkgsrc-2e70faa486c0d3b473cd82d89e10c97818b3f6ee.tar.gz
Don't "cp -p" for *source* files. Builds are usually done as an unprivileged
user, so it's not nice to try to use an option that will try to chown if the repository isn't owned by the builder. (Some OS's do in fact cause an error when the chown in "cp -p" fails.)
Diffstat (limited to 'pkgtools/rc.subr')
-rw-r--r--pkgtools/rc.subr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/rc.subr/Makefile b/pkgtools/rc.subr/Makefile
index 9471bde9342..903cf1dbde9 100644
--- a/pkgtools/rc.subr/Makefile
+++ b/pkgtools/rc.subr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/12/28 02:47:48 reed Exp $
+# $NetBSD: Makefile,v 1.10 2005/01/06 05:32:30 tv Exp $
#
DISTNAME= rc.subr-20041011
@@ -24,7 +24,7 @@ PLIST_SUBST+= RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR:S/^\///}
CONF_FILES+= ${PREFIX}etc/rc.conf.example ${PREFIX}etc/rc.conf
do-extract:
- @${CP} -Rp ${FILESDIR} ${WRKSRC}
+ @${CP} -R ${FILESDIR} ${WRKSRC}
do-install:
${INSTALL_DATA_DIR} ${RCD_SCRIPTS_DIR}