pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/ruby-tk Make sure to change current directory to $...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8cfdbdd64579
branches:  trunk
changeset: 488256:8cfdbdd64579
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Jan 26 16:03:49 2005 +0000

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

diffstat:

 x11/ruby-tk/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 2c97d408c886 -r 8cfdbdd64579 x11/ruby-tk/Makefile
--- a/x11/ruby-tk/Makefile      Wed Jan 26 15:56:45 2005 +0000
+++ b/x11/ruby-tk/Makefile      Wed Jan 26 16:03:49 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/01/23 17:37:48 taca Exp $
+# $NetBSD: Makefile,v 1.13 2005/01/26 16:03:49 taca Exp $
 # FreeBSD: ports/x11-toolkits/ruby-tk/Makefile,v 1.21 2000/10/20 19:56:04 knu Exp
 
 DISTNAME=      ${RUBY_DISTNAME}
@@ -23,8 +23,8 @@
 REPLACE_RUBY_DIRS=     ${WRKSRC}/sample
 
 pre-configure:
-       @${FIND} ${WRKSRC} \( -name '*.orig' -o -name '*.bak' \) \
-               -exec rm -f {} \;
+       @cd ${WRKSRC}; \
+       ${FIND} . \( -name '*.orig' -o -name '*.bak' \) -exec rm -f {} \;
 
 post-install:
        ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tk



Home | Main Index | Thread Index | Old Index