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.
This commit is contained in:
parent
440dab353e
commit
e04e9eecc3
2 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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 @@ check_packages_mismatched()
|
|||
{
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue