pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/cardboard-schedule The commands for extracting fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/529451a6eef1
branches:  trunk
changeset: 507589:529451a6eef1
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Feb 04 23:39:50 2006 +0000

description:
The commands for extracting files should never be called like (unzip) ||
true. That just hides bugs. (Hi wiz.)

diffstat:

 time/cardboard-schedule/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 531b412292d8 -r 529451a6eef1 time/cardboard-schedule/Makefile
--- a/time/cardboard-schedule/Makefile  Sat Feb 04 22:55:42 2006 +0000
+++ b/time/cardboard-schedule/Makefile  Sat Feb 04 23:39:50 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/07/15 18:27:53 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2006/02/04 23:39:50 rillig Exp $
 #
 
 DISTNAME=      cs113ins
@@ -20,7 +20,7 @@
 
 USE_TOOLS+=    gtar
 
-EXTRACT_CMD=   (cd ${WRKDIR} && unzip -x ${DOWNLOADED_DISTFILE}) || ${TRUE}
+EXTRACT_CMD=   cd ${WRKDIR} && unzip -x ${DOWNLOADED_DISTFILE}
 WRKSRC=                ${WRKDIR}
 
 CSFILES=       cs/images/Logo2.gif \
@@ -34,7 +34,7 @@
 INSTALLATION_DIRS=     bin
 
 post-extract:
-       (cd ${WRKDIR} && unzip -x InstallerData/Installer.zip) || ${TRUE}
+       cd ${WRKDIR} && unzip -x InstallerData/Installer.zip
 
 do-build:
        ${SED} -e s,@PREFIX@,${PREFIX},g < ${FILESDIR}/csched.sh > ${WRKDIR}/csched.tmp



Home | Main Index | Thread Index | Old Index