diff options
author | abs <abs> | 2001-09-28 09:58:15 +0000 |
---|---|---|
committer | abs <abs> | 2001-09-28 09:58:15 +0000 |
commit | b3d733d857994f0fd24a46a6a086e0fe67bd96e9 (patch) | |
tree | 3eec09f87349935a3e4a87000063f5fc9d759f22 /pkgtools/pkgchk/files/pkgchk.sh | |
parent | 28fc3a58ae87b84a14add1e83086e84b1873cacc (diff) | |
download | pkgsrc-b3d733d857994f0fd24a46a6a086e0fe67bd96e9.tar.gz |
Update pkgchk to 1.14
Fix typo in last which resulted in installations being recorded
as failed.
Diffstat (limited to 'pkgtools/pkgchk/files/pkgchk.sh')
-rwxr-xr-x | pkgtools/pkgchk/files/pkgchk.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |