pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/netdisco This warning is not yet in pkglint:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5afbf0194a57
branches:  trunk
changeset: 509467:5afbf0194a57
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Mar 10 21:16:30 2006 +0000

description:
This warning is not yet in pkglint:

WARN: Makefile:123: "cd" as the last shell command is useless.

diffstat:

 net/netdisco/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 83522c28841d -r 5afbf0194a57 net/netdisco/Makefile
--- a/net/netdisco/Makefile     Fri Mar 10 21:03:18 2006 +0000
+++ b/net/netdisco/Makefile     Fri Mar 10 21:16:30 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/03/09 20:25:28 bouyer Exp $
+# $NetBSD: Makefile,v 1.11 2006/03/10 21:16:30 rillig Exp $
 #
 
 DISTNAME=              netdisco-0.94_with_mibs
@@ -120,7 +120,7 @@
                ${RM} -f ${WRKSRC}/doc/$$i ;\
                ${MV} ${WRKSRC}/$$i ${WRKSRC}/doc/ ;\
        done
-       cd ${WRKSRC};
+       cd ${WRKSRC} && \
        ${FIND} . \( -name '*.orig' -o -name '*.bak' \) -exec ${RM} -f {} \;
 
 do-install:



Home | Main Index | Thread Index | Old Index