diff options
author | taca <taca@pkgsrc.org> | 2005-01-26 15:02:34 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2005-01-26 15:02:34 +0000 |
commit | c64e6502bdf8b0065235d44070ed777db4844025 (patch) | |
tree | ca5168f1f2cb7b45b77e1f873a9011e598c0fb6b /mail | |
parent | 5357650f51a947ef570da0e855233315786fed4e (diff) | |
download | pkgsrc-c64e6502bdf8b0065235d44070ed777db4844025.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/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 |