diff options
author | rillig <rillig> | 2007-01-08 01:40:23 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-01-08 01:40:23 +0000 |
commit | ca9cdb42169e8f1b57134a488f29fcafd1da89c7 (patch) | |
tree | 5829b4df9a5fff7a192599001416cde6b56d9f5f /graphics | |
parent | 75eb7f77d57188c8e7666d4bffc11a37bab24cd3 (diff) | |
download | pkgsrc-ca9cdb42169e8f1b57134a488f29fcafd1da89c7.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')
-rw-r--r-- | graphics/xart/Makefile | 6 |
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" |