Skip to content

Commit 611569c

Browse files
committed
invoke python with -E option for rpm
1 parent 02fda7d commit 611569c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

cigetcert.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
2-
unset PYTHONPATH LD_LIBRARY_PATH
3-
exec /usr/bin/python /usr/libexec/cigetcert/cigetcert.pyc "$@"
2+
unset LD_LIBRARY_PATH
3+
exec /usr/bin/python -E /usr/libexec/cigetcert/cigetcert.pyc "$@"

cigetcert.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: Get an X.509 certificate with SAML ECP and store proxies
22
Name: cigetcert
33
Version: 1.16
4-
Release: 1%{?dist}
4+
Release: 2%{?dist}
55
License: BSD
66
Group: Applications/System
77
URL: http://redmine.fnal.gov/projects/fermitools/wiki/cigetcert
@@ -53,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT
5353

5454

5555
%changelog
56+
* Fri Mar 03 2017 Dave Dykstra <[email protected]> 1.16-2
57+
- In /usr/bin/cigetcert, invoke python with the '-E' option to avoid
58+
variables like PYTHONHOME.
59+
5660
* Tue Oct 18 2016 Dave Dykstra <[email protected]> 1.16-1
5761
- Fix typo in the variable name added in the last version. This was
5862
not noticed because it was caught in an exception and caused it to

0 commit comments

Comments
 (0)