pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/xart When fixing file permissions with find |...
details: https://anonhg.NetBSD.org/pkgsrc/rev/03bbbd6892bf
branches: trunk
changeset: 523435:03bbbd6892bf
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Jan 08 01:40:23 2007 +0000
description:
When fixing file permissions with find | xargs, there is always a race
condition. Fixed this by using find -exec for the directories.
diffstat:
graphics/xart/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 71121624480c -r 03bbbd6892bf graphics/xart/Makefile
--- a/graphics/xart/Makefile Mon Jan 08 00:19:18 2007 +0000
+++ b/graphics/xart/Makefile Mon Jan 08 01:40:23 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2006/12/27 13:37:38 joerg Exp $
+# $NetBSD: Makefile,v 1.45 2007/01/08 01:40:23 rillig Exp $
#
DISTNAME= xart19980415
@@ -16,8 +16,8 @@
USE_IMAKE= YES
post-extract:
- ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755
- ${FIND} ${WRKSRC} -type f -print | ${XARGS} ${CHMOD} 644
+ cd ${WRKDIR} && find * -type d -exec chmod 755 "{}" ";"
+ cd ${WRKDIR} && find * -type f -print | xargs chmod 644
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index