From 4fecb1d4cd7b2d28f9e4f9084b38cef438f50cdf Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Mon, 17 Feb 2020 06:58:48 +0000 Subject: net-mgmt/netdata: Honour/respect default Python version PR: 243567 Reviewed by: mat, koobs (python) Approved by: portmgr (blanket: run time bug fix, ports (Python) compliance) MFH: 2020Q1 Differential Revision: D22909 --- .../files/patch-collectors_python.d.plugin_python.d.plugin.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in') diff --git a/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in b/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in index c251bdbefb7b..0ac0a095638a 100644 --- a/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in +++ b/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in @@ -1,10 +1,10 @@ ---- collectors/python.d.plugin/python.d.plugin.in.orig 2019-10-10 13:13:19 UTC +--- collectors/python.d.plugin/python.d.plugin.in.orig 2020-01-30 23:22:27 UTC +++ collectors/python.d.plugin/python.d.plugin.in @@ -1,6 +1,6 @@ - #!/usr/local/bin/bash + #!/usr/bin/env bash '''':; -pybinary=$(which python || which python3 || which python2) -+pybinary=$(which python || which python3.6 || which python2.7) ++pybinary=%%PYTHON%% filtered=() for arg in "$@" do -- cgit v1.2.3