pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/ja-squirrelmail Make sure to change current direc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7566edf162f8
branches:  trunk
changeset: 488250:7566edf162f8
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Jan 26 15:02:34 2005 +0000

description:
Make sure to change current directory to ${WRKSRC} before removing files
like "*.orig" by find(1).

diffstat:

 mail/ja-squirrelmail/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 81e9e875fcbe -r 7566edf162f8 mail/ja-squirrelmail/Makefile
--- a/mail/ja-squirrelmail/Makefile     Wed Jan 26 14:47:39 2005 +0000
+++ b/mail/ja-squirrelmail/Makefile     Wed Jan 26 15:02:34 2005 +0000
@@ -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 @@
        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



Home | Main Index | Thread Index | Old Index