summaryrefslogtreecommitdiff
path: root/graphics/xart
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-08 01:40:23 +0000
committerrillig <rillig@pkgsrc.org>2007-01-08 01:40:23 +0000
commit70c8b73f0bbd5cb7f8e2c4f5ee05dcb37be21c78 (patch)
tree5829b4df9a5fff7a192599001416cde6b56d9f5f /graphics/xart
parent1d739a1ea6e03bc0a8dff021e13db74f2c33a7d5 (diff)
downloadpkgsrc-70c8b73f0bbd5cb7f8e2c4f5ee05dcb37be21c78.tar.gz
When fixing file permissions with find | xargs, there is always a race
condition. Fixed this by using find -exec for the directories.
Diffstat (limited to 'graphics/xart')
-rw-r--r--graphics/xart/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/xart/Makefile b/graphics/xart/Makefile
index 3c9de007ead..b001a18a5d2 100644
--- a/graphics/xart/Makefile
+++ b/graphics/xart/Makefile
@@ -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 @@ WRKSRC= ${WRKDIR}/19980415
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"