summaryrefslogtreecommitdiff
path: root/pkgtools/pbulk
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-03-06 15:53:21 +0000
committertnn <tnn@pkgsrc.org>2009-03-06 15:53:21 +0000
commit5d68b98b8d79dd02bc9511fa0425628053e227a4 (patch)
tree99730172c8e896a5b1b8ec0a752bc6651b3a161f /pkgtools/pbulk
parent0e85145c05492b9c8731a86920cb56d5f0034169 (diff)
downloadpkgsrc-5d68b98b8d79dd02bc9511fa0425628053e227a4.tar.gz
joergs says the problem is with &&, so revert to revision 1.4 which should
be safe everywhere.
Diffstat (limited to 'pkgtools/pbulk')
-rwxr-xr-xpkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date b/pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date
index d1f58431afe..a6608f75e5c 100755
--- a/pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date
+++ b/pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date
@@ -1,5 +1,5 @@
#!@SH@
-# $NetBSD: pkg-up-to-date,v 1.5 2009/03/06 13:05:21 tnn Exp $
+# $NetBSD: pkg-up-to-date,v 1.6 2009/03/06 15:53:21 tnn Exp $
#
# Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>.
# All rights reserved.
@@ -66,7 +66,5 @@ ${pkg_info} -qN ${pkg} | while read dep; do
fi
done
[ $found = 1 ]
- if [ "${packages}/All/${dep}.tgz" -nt "${pkg}" ]; then
- exit 1
- fi
+ [ "${packages}/All/${dep}.tgz" -ot "${pkg}" ]
done