pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_rolling-replace pkg_rolling-replace-0.5:
details: https://anonhg.NetBSD.org/pkgsrc/rev/8b0c3bd930bc
branches: trunk
changeset: 531617:8b0c3bd930bc
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri Aug 03 00:55:08 2007 +0000
description:
pkg_rolling-replace-0.5:
Redirecting output to /dev/stderr is not portable and will create a
regular file "stderr" if the device does not exist. Instead use the
portable 1>&2 redirection syntax. PKGREVISION was at nb9; get rid of it
and bump minor version number.
diffstat:
pkgtools/pkg_rolling-replace/Makefile | 5 ++---
pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r 3a7864a58491 -r 8b0c3bd930bc pkgtools/pkg_rolling-replace/Makefile
--- a/pkgtools/pkg_rolling-replace/Makefile Thu Aug 02 23:34:08 2007 +0000
+++ b/pkgtools/pkg_rolling-replace/Makefile Fri Aug 03 00:55:08 2007 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2007/06/29 18:18:37 tnn Exp $
+# $NetBSD: Makefile,v 1.11 2007/08/03 00:55:08 tnn Exp $
-DISTNAME= pkg_rolling-replace-0.04
-PKGREVISION= 9
+DISTNAME= pkg_rolling-replace-0.5
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 3a7864a58491 -r 8b0c3bd930bc pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh
--- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Thu Aug 02 23:34:08 2007 +0000
+++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Fri Aug 03 00:55:08 2007 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
-# $NetBSD: pkg_rolling-replace.sh,v 1.10 2007/06/29 17:16:24 tnn Exp $
+# $NetBSD: pkg_rolling-replace.sh,v 1.11 2007/08/03 00:55:09 tnn Exp $
#<license>
# Copyright (c) 2006 BBN Technologies Corp. All rights reserved.
#
@@ -120,7 +120,7 @@
{
pkg_chk -u -q | while read line; do
# duplicate output of pkg_chk to stderr (bypass $(...) or `...`)
- echo "${OPC} $line" > /dev/stderr
+ echo "${OPC} $line" 1>&2
# Look for the first thing that looks like pkg-version rather
# than category/pkg and remove the version.
for word in $line; do
Home |
Main Index |
Thread Index |
Old Index