pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/pkg_rolling-replace



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Apr 22 08:54:18 UTC 2021

Modified Files:
        pkgsrc/pkgtools/pkg_rolling-replace: Makefile
        pkgsrc/pkgtools/pkg_rolling-replace/files: pkg_rolling-replace.sh

Log Message:
Correct the order of redirection


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/pkgtools/pkg_rolling-replace/Makefile
cvs rdiff -u -r1.43 -r1.44 \
    pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkg_rolling-replace/Makefile
diff -u pkgsrc/pkgtools/pkg_rolling-replace/Makefile:1.48 pkgsrc/pkgtools/pkg_rolling-replace/Makefile:1.49
--- pkgsrc/pkgtools/pkg_rolling-replace/Makefile:1.48   Tue Apr 13 17:51:21 2021
+++ pkgsrc/pkgtools/pkg_rolling-replace/Makefile        Thu Apr 22 08:54:18 2021
@@ -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

Index: pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh
diff -u pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh:1.43 pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh:1.44
--- pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh:1.43       Tue Apr 13 17:51:21 2021
+++ pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh    Thu Apr 22 08:54:18 2021
@@ -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 @@ check_packages_mismatched()
         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