From 6cf04de1479d6ad86d3a2adf230e89309ca8a272 Mon Sep 17 00:00:00 2001 From: abs Date: Fri, 28 Sep 2001 09:58:15 +0000 Subject: Update pkgchk to 1.14 Fix typo in last which resulted in installations being recorded as failed. --- pkgtools/pkgchk/Makefile | 4 ++-- pkgtools/pkgchk/files/pkgchk.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgtools/pkgchk') diff --git a/pkgtools/pkgchk/Makefile b/pkgtools/pkgchk/Makefile index 2028feeab9d..5bf8626979b 100644 --- a/pkgtools/pkgchk/Makefile +++ b/pkgtools/pkgchk/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.14 2001/09/27 21:13:46 abs Exp $ +# $NetBSD: Makefile,v 1.15 2001/09/28 09:58:15 abs Exp $ -DISTNAME= pkgchk-1.13 +DISTNAME= pkgchk-1.14 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkgchk/files/pkgchk.sh b/pkgtools/pkgchk/files/pkgchk.sh index b6259032fed..bc20a913c98 100755 --- a/pkgtools/pkgchk/files/pkgchk.sh +++ b/pkgtools/pkgchk/files/pkgchk.sh @@ -1,6 +1,6 @@ #!/bin/sh -e # -# $Id: pkgchk.sh,v 1.15 2001/09/27 21:13:47 abs Exp $ +# $Id: pkgchk.sh,v 1.16 2001/09/28 09:58:15 abs Exp $ # # TODO: Handle and as well as or tags (eg: i386+x11) # TODO: Handle updates with dependencies via binary packages @@ -128,7 +128,7 @@ run_cmd() echo $1 if [ -z "$opt_n" ];then sh -c "$1" || FAIL=1 - if [ FAIL=1 ] ; then + if [ -n "$FAIL" ] ; then echo "** '$1' failed" if [ "$FAILOK" != 1 ]; then exit 1 -- cgit v1.2.3