Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2012 09:37:49 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305961 - head/mail/squirrelmail-translations
Message-ID:  <201210160937.q9G9boga006723@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Tue Oct 16 09:37:49 2012
New Revision: 305961
URL: http://svn.freebsd.org/changeset/ports/305961

Log:
  As in squirrelmail/Makefile, drop cp -R in favor of cpio.
  No plist change here, but offers some permissions protection.
  
  Feature safe:	yes

Modified:
  head/mail/squirrelmail-translations/Makefile

Modified: head/mail/squirrelmail-translations/Makefile
==============================================================================
--- head/mail/squirrelmail-translations/Makefile	Tue Oct 16 09:32:51 2012	(r305960)
+++ head/mail/squirrelmail-translations/Makefile	Tue Oct 16 09:37:49 2012	(r305961)
@@ -33,7 +33,7 @@ post-patch:
 do-install:
 	${MKDIR} ${SQUIRRELDIR}
 .for DIR in help images locale
-	${CP} -rp ${WRKSRC}/${DIR} ${SQUIRRELDIR}
+	cd ${WRKSRC} && ${FIND} ${DIR} | ${CPIO} -pdmu --quiet ${SQUIRRELDIR}
 .endfor
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210160937.q9G9boga006723>