summaryrefslogtreecommitdiff
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
commita73f53c39574b90e07fde08b5e13c546d54a91fd (patch)
tree99730172c8e896a5b1b8ec0a752bc6651b3a161f
parent867f710a1e3d7cc3c2fc46f248852f316c4fa8c0 (diff)
downloadpkgsrc-a73f53c39574b90e07fde08b5e13c546d54a91fd.tar.gz
joergs says the problem is with &&, so revert to revision 1.4 which should
be safe everywhere.
-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