summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorabs <abs>2001-09-28 09:58:15 +0000
committerabs <abs>2001-09-28 09:58:15 +0000
commitb3d733d857994f0fd24a46a6a086e0fe67bd96e9 (patch)
tree3eec09f87349935a3e4a87000063f5fc9d759f22 /pkgtools
parent28fc3a58ae87b84a14add1e83086e84b1873cacc (diff)
downloadpkgsrc-b3d733d857994f0fd24a46a6a086e0fe67bd96e9.tar.gz
Update pkgchk to 1.14
Fix typo in last which resulted in installations being recorded as failed.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkgchk/Makefile4
-rwxr-xr-xpkgtools/pkgchk/files/pkgchk.sh4
2 files changed, 4 insertions, 4 deletions
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