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 Correct the order of redi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60999678264a
branches:  trunk
changeset: 450817:60999678264a
user:      pho <pho%pkgsrc.org@localhost>
date:      Thu Apr 22 08:54:18 2021 +0000

description:
Correct the order of redirection

diffstat:

 pkgtools/pkg_rolling-replace/Makefile                     |  4 ++--
 pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 92c95793fa38 -r 60999678264a pkgtools/pkg_rolling-replace/Makefile
--- a/pkgtools/pkg_rolling-replace/Makefile     Thu Apr 22 08:41:47 2021 +0000
+++ b/pkgtools/pkg_rolling-replace/Makefile     Thu Apr 22 08:54:18 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.48 2021/04/13 17:51:21 rhialto Exp $
+# $NetBSD: Makefile,v 1.49 2021/04/22 08:54:18 pho Exp $
 
-PKGNAME=       pkg_rolling-replace-0.24.11
+PKGNAME=       pkg_rolling-replace-0.24.12
 CATEGORIES=    pkgtools
 
 MAINTAINER=    gdt%NetBSD.org@localhost
diff -r 92c95793fa38 -r 60999678264a pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh
--- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Thu Apr 22 08:41:47 2021 +0000
+++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Thu Apr 22 08:54:18 2021 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $NetBSD: pkg_rolling-replace.sh,v 1.43 2021/04/13 17:51:21 rhialto Exp $
+# $NetBSD: pkg_rolling-replace.sh,v 1.44 2021/04/22 08:54:18 pho Exp $
 #<license>
 # Copyright (c) 2006 BBN Technologies Corp.  All rights reserved.
 #
@@ -162,7 +162,7 @@
         for word in $line; do
             if [ "$(echo $word | egrep '^[^/]+-[0-9][^-/]*$')" ]; then
                if [ -z "$opt_F" ]; then
-                   ${PKG_ADMIN} set mismatch=YES "$word" 2>&1 >/dev/null || {
+                   ${PKG_ADMIN} set mismatch=YES "$word" >/dev/null 2>&1 || {
                        if [ -z "$warned_once" ]; then
                            echo 1>&2 "$OPC WARNING: mismatch variable not set due to permissions;"
                            echo 1>&2 "$OPC          mismatch status will not persist."



Home | Main Index | Thread Index | Old Index