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.
This commit is contained in:
parent
82433c38c1
commit
26418b456b
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue