summaryrefslogtreecommitdiff
path: root/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in')
-rw-r--r--net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in13
1 files changed, 7 insertions, 6 deletions
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 45164d19f085..c251bdbefb7b 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,9 +1,10 @@
---- collectors/python.d.plugin/python.d.plugin.in.orig 2019-05-27 21:36:18 UTC
+--- collectors/python.d.plugin/python.d.plugin.in.orig 2019-10-10 13:13:19 UTC
+++ collectors/python.d.plugin/python.d.plugin.in
-@@ -1,5 +1,5 @@
+@@ -1,6 +1,6 @@
#!/usr/local/bin/bash
'''':;
--exec "$(command -v python || command -v python3 || command -v python2 ||
-+exec "$(command -v python || command -v python3.6 || command -v python2.7 ||
- echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # '''
-
+-pybinary=$(which python || which python3 || which python2)
++pybinary=$(which python || which python3.6 || which python2.7)
+ filtered=()
+ for arg in "$@"
+ do