diff options
author | Dan Langille <dvl@FreeBSD.org> | 2021-05-21 13:13:18 +0000 |
---|---|---|
committer | Dan Langille <dvl@FreeBSD.org> | 2021-05-21 13:18:19 +0000 |
commit | 246f272970e04072488ec8dcc3edf9b53ccf16ce (patch) | |
tree | bc20aa4f92f98a8027af7883f501661c115cd773 /net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php | |
parent | lang/perl5.34: Update to 5.34.0. (diff) |
net-mgmt/librenms: Clean up Makefile and use LOCALBASE
Good ideas, and I applied LOCALBASE to other pathes too. Thank you.
Reported by: otis
Differential Revision: https://reviews.freebsd.org/D30377
Diffstat (limited to 'net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php')
-rw-r--r-- | net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php b/net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php index d9b75a45c9df..555581932d1f 100644 --- a/net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php +++ b/net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php @@ -5,7 +5,7 @@ public static function python() { - $proc = new Process(['python3', '--version']); -+ $proc = new Process(['/usr/local/bin/python3', '--version']); ++ $proc = new Process(['%%LOCALBASE%%/bin/python3', '--version']); $proc->run(); if ($proc->getExitCode() !== 0) { |