pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk/files/pbulk/scripts joergs says the pro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e091a32b71b
branches:  trunk
changeset: 555680:1e091a32b71b
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Mar 06 15:53:21 2009 +0000

description:
joergs says the problem is with &&, so revert to revision 1.4 which should
be safe everywhere.

diffstat:

 pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r c9ca96eb373e -r 1e091a32b71b pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date
--- a/pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date Fri Mar 06 15:21:17 2009 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date Fri Mar 06 15:53:21 2009 +0000
@@ -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@localhost>.
 # All rights reserved.
@@ -66,7 +66,5 @@
                fi
        done
        [ $found = 1 ]
-       if [ "${packages}/All/${dep}.tgz" -nt "${pkg}" ]; then
-               exit 1
-       fi
+       [ "${packages}/All/${dep}.tgz" -ot "${pkg}" ]
 done



Home | Main Index | Thread Index | Old Index