Date: Wed, 31 Aug 2016 20:01:33 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421189 - head/net/tcpview/files Message-ID: <201608312001.u7VK1XFi084766@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Wed Aug 31 20:01:33 2016 New Revision: 421189 URL: https://svnweb.freebsd.org/changeset/ports/421189 Log: net/tcpview: fix synth patch Modified: head/net/tcpview/files/patch-ostype Modified: head/net/tcpview/files/patch-ostype ============================================================================== --- head/net/tcpview/files/patch-ostype Wed Aug 31 19:53:20 2016 (r421188) +++ head/net/tcpview/files/patch-ostype Wed Aug 31 20:01:33 2016 (r421189) @@ -7,7 +7,7 @@ Workaround if /etc/motd is missing if ( -f /etc/motd ) then set os=`awk -f ostype.awk /etc/motd` +else -+ set os=$(uname -a | awk -f ostype.awk /tmp/motd) ++ set os=`uname -a | awk -f ostype.awk` endif if ($os == "") exit 1 if ($os == "UNKNOWN") then
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608312001.u7VK1XFi084766>