summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2005-01-26 15:02:34 +0000
committertaca <taca>2005-01-26 15:02:34 +0000
commit949adc0975d9ad2e00a36e40542c059bdae295d7 (patch)
treeca5168f1f2cb7b45b77e1f873a9011e598c0fb6b
parent3d909e695c9c1a94d0269552d45b81d7fbfaa2af (diff)
downloadpkgsrc-949adc0975d9ad2e00a36e40542c059bdae295d7.tar.gz
Make sure to change current directory to ${WRKSRC} before removing files
like "*.orig" by find(1).
-rw-r--r--mail/ja-squirrelmail/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/ja-squirrelmail/Makefile b/mail/ja-squirrelmail/Makefile
index a25ed89eb35..df238a4ade7 100644
--- a/mail/ja-squirrelmail/Makefile
+++ b/mail/ja-squirrelmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/12/22 08:08:08 martti Exp $
+# $NetBSD: Makefile,v 1.10 2005/01/26 15:02:34 taca Exp $
DISTNAME= squirrelmail-1.4.3a
PKGNAME= ja-${DISTNAME}
@@ -63,8 +63,9 @@ post-patch:
done; \
pre-install:
- ${FIND} . \( -name "*.orig" -o -name '*.orig_dist' -o \
- -name ".cvsignore" \) -print \
+ cd ${WRKSRC}; \
+ ${FIND} . \( -name "*.orig" -o -name '*.orig_dist' -o \
+ -name ".cvsignore" \) -print \
| ${XARGS} ${RM} -f
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/squirrelmail.conf.dist \
> ${WRKDIR}/squirrelmail.conf.dist