[packages/net-snmp] - fix shebang
baggins
baggins at pld-linux.org
Sun Apr 26 12:03:14 CEST 2020
commit bf8d680627e0c75be5e21d5ea575e74cb1ba82d7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Apr 26 12:00:39 2020 +0200
- fix shebang
net-snmp.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/net-snmp.spec b/net-snmp.spec
index 3ee8940..c5b01cf 100644
--- a/net-snmp.spec
+++ b/net-snmp.spec
@@ -458,6 +458,9 @@ SNMP dla trzech wersji tego protokołu (SNMPv3, SNMPv2c, SNMPv1).
%patch14 -p1
%patch15 -p1
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+perl(\s|$),#!%{__perl}\1,' \
+ perl/SNMP/examples/pingmib.pl
+
%build
%{__libtoolize}
%{__aclocal} -I m4
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/net-snmp.git/commitdiff/bf8d680627e0c75be5e21d5ea575e74cb1ba82d7
More information about the pld-cvs-commit
mailing list