summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2005-01-26 15:38:40 +0000
committermartti <martti@pkgsrc.org>2005-01-26 15:38:40 +0000
commitdb04bdb6881a100e2ac11b2c007925ea8d3215e7 (patch)
tree8897e5e4f0f591d6aea75de19570c143d1c7e7b8 /mail
parentdb35fcfb15692e1607a76587a9de909203e0b1ec (diff)
downloadpkgsrc-db04bdb6881a100e2ac11b2c007925ea8d3215e7.tar.gz
Make sure to change current directory to ${WRKSRC} before removing files
like "*.orig" by find(1).
Diffstat (limited to 'mail')
-rw-r--r--mail/squirrelmail/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile
index 5f70742f49a..361219bf934 100644
--- a/mail/squirrelmail/Makefile
+++ b/mail/squirrelmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2005/01/23 07:02:03 martti Exp $
+# $NetBSD: Makefile,v 1.50 2005/01/26 15:38:40 martti Exp $
DISTNAME= squirrelmail-1.4.4
#PKGREVISION= 1
@@ -52,6 +52,7 @@ post-patch:
$${file} > $${file}.fixed; \
${MV} -f $${file}.fixed $${file}; \
done; \
+ cd ${WRKSRC}; \
${FIND} . \( -name "*.orig" -o -name ".cvsignore" \) -print \
| ${XARGS} ${RM} -f