diff options
author | taca <taca> | 2005-01-26 15:02:34 +0000 |
---|---|---|
committer | taca <taca> | 2005-01-26 15:02:34 +0000 |
commit | 949adc0975d9ad2e00a36e40542c059bdae295d7 (patch) | |
tree | ca5168f1f2cb7b45b77e1f873a9011e598c0fb6b | |
parent | 3d909e695c9c1a94d0269552d45b81d7fbfaa2af (diff) | |
download | pkgsrc-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/Makefile | 7 |
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 |