diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2015-10-27 20:32:14 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2015-10-27 20:32:14 +0000 |
commit | cea72b990669ce2bd364f25393a01f75050ae7db (patch) | |
tree | 8f29a7117b1f40760dfdae5b93e96c9106d76e75 /net | |
parent | e057138230151d5c20d28267deabc668a8a5ef34 (diff) | |
download | pkgsrc-cea72b990669ce2bd364f25393a01f75050ae7db.tar.gz |
Remove -n0 from envstat invocations, PR pkg/50352.
Diffstat (limited to 'net')
-rw-r--r-- | net/mrtg/Makefile | 4 | ||||
-rwxr-xr-x | net/mrtg/files/envstat2mrtg | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile index 6a76e9b3b0b..b0aef41b014 100644 --- a/net/mrtg/Makefile +++ b/net/mrtg/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.116 2015/06/30 09:57:41 ryoon Exp $ +# $NetBSD: Makefile,v 1.117 2015/10/27 20:32:14 bsiegert Exp $ DISTNAME= mrtg-2.17.4 -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= net MASTER_SITES= http://oss.oetiker.ch/mrtg/pub/ \ http://oss.oetiker.ch/mrtg/pub/old/ diff --git a/net/mrtg/files/envstat2mrtg b/net/mrtg/files/envstat2mrtg index 17f95a0984f..79ed6196394 100755 --- a/net/mrtg/files/envstat2mrtg +++ b/net/mrtg/files/envstat2mrtg @@ -1,9 +1,9 @@ #! @PREFIX@/bin/perl -# $NetBSD: envstat2mrtg,v 1.3 2009/01/14 12:20:57 sketch Exp $ +# $NetBSD: envstat2mrtg,v 1.4 2015/10/27 20:32:14 bsiegert Exp $ if (@ARGV == 1) { - open(CMDOUT, "envstat -n0 -s '@ARGV[0]'|"); + open(CMDOUT, "envstat -s '@ARGV[0]'|"); $line = <CMDOUT>; chop $line; if ($line =~ m|^[\s\t]+(\w+)$|) @@ -25,7 +25,7 @@ if (@ARGV == 1) if (@ARGV == 2) { - open(CMDOUT, "envstat -n0 -s '@ARGV[0],@ARGV[1]'|"); + open(CMDOUT, "envstat -s '@ARGV[0],@ARGV[1]'|"); $line = <CMDOUT>; if ($line =~ m|^[\s\t]+(\w+)[\s\t]+(\w+)$|) { |