diff options
author | joerg <joerg@pkgsrc.org> | 2005-11-08 11:18:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-11-08 11:18:02 +0000 |
commit | 26418b456b75693fc58352756cbd81189f64f500 (patch) | |
tree | 91f9067cddbbefb32bda9a7f763fa9aedc7a2a1b /lang | |
parent | 82433c38c10ffbe0a5d248a26692f592aaddb82e (diff) | |
download | pkgsrc-26418b456b75693fc58352756cbd81189f64f500.tar.gz |
When using find to remove directories, do a depth-first traversal.
This is necessary to prevent find from returning with != 0 at least on
DragonFly.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ruby18-base/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ruby18-base/Makefile b/lang/ruby18-base/Makefile index e173b3fb757..347ec36a661 100644 --- a/lang/ruby18-base/Makefile +++ b/lang/ruby18-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2005/11/02 08:56:39 taca Exp $ +# $NetBSD: Makefile,v 1.11 2005/11/08 11:18:02 joerg Exp $ # DISTNAME= ${RUBY_DISTNAME} @@ -93,7 +93,7 @@ pre-build: # post-build: @cd ${WRKSRC}/.ext; \ - ${FIND} . -type d -print \ + ${FIND} . -depth -type d -print \ -exec ${RMDIR} {} \; > /dev/null 2>&1; ${TRUE} post-install: ${STRIP} ${RUBY} |