diff options
author | pho <pho@pkgsrc.org> | 2021-04-22 08:54:18 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2021-04-22 08:54:18 +0000 |
commit | 1907cc0d68375d2d55aca7ae07395d1db7bbd021 (patch) | |
tree | c9bb10a3ab83532823391fbcfafac13c3c1a1125 /pkgtools | |
parent | 88ff97456fe99b5cf496b419a90fe0837afeef22 (diff) | |
download | pkgsrc-1907cc0d68375d2d55aca7ae07395d1db7bbd021.tar.gz |
Correct the order of redirection
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_rolling-replace/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkg_rolling-replace/Makefile b/pkgtools/pkg_rolling-replace/Makefile index 7e068d7cb3b..4d72ec44b23 100644 --- a/pkgtools/pkg_rolling-replace/Makefile +++ b/pkgtools/pkg_rolling-replace/Makefile @@ -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 diff --git a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh index 7204a3ba7ea..c1bbb6b32b2 100755 --- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh +++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh @@ -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." |