pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/ups-nut Fix more pkglint warnings:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c639df11fd2
branches:  trunk
changeset: 516969:5c639df11fd2
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Wed Aug 02 12:31:54 2006 +0000

description:
Fix more pkglint warnings:
- The shell command "${MKDIR}" should not be hidden.
- The INSTALL_*_DIR commands can only handle one directory at a time.

diffstat:

 sysutils/ups-nut/Makefile |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r ef4ea75fac14 -r 5c639df11fd2 sysutils/ups-nut/Makefile
--- a/sysutils/ups-nut/Makefile Wed Aug 02 12:30:22 2006 +0000
+++ b/sysutils/ups-nut/Makefile Wed Aug 02 12:31:54 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2006/08/02 12:30:22 ghen Exp $
+# $NetBSD: Makefile,v 1.44 2006/08/02 12:31:54 ghen Exp $
 #
 
 DISTNAME=              nut-2.0.3
@@ -66,14 +66,15 @@
 OWN_DIRS_PERMS=                ${NUT_STATEDIR} ${NUT_USER} ${NUT_GROUP} 0770
 
 pre-install:
-       @${MKDIR} ${NUT_STATEDIR}
-       @${MKDIR} ${NUT_DRVDIR}
-       @${CHOWN} ${NUT_USER} ${NUT_STATEDIR}
+       ${MKDIR} ${NUT_STATEDIR}
+       ${MKDIR} ${NUT_DRVDIR}
+       ${CHOWN} ${NUT_USER} ${NUT_STATEDIR}
        ${INSTALL_DATA_DIR} ${NUT_EGDIR}
 
 post-install:
        ${INSTALL_DATA_DIR} ${NUT_DOCDIR}
-       ${INSTALL_DATA_DIR} ${NUT_DOCDIR}/cables ${NUT_DOCDIR}/drivers
+       ${INSTALL_DATA_DIR} ${NUT_DOCDIR}/cables
+       ${INSTALL_DATA_DIR} ${NUT_DOCDIR}/drivers
        for f in CHANGES COPYING CREDITS NEWS README INSTALL UPGRADING; do \
                ${INSTALL_DATA} ${WRKSRC}/$$f ${NUT_DOCDIR}; \
        done



Home | Main Index | Thread Index | Old Index