On ArchLinux, python defaults to python 3.5.2, which breaks the script.
Fix it by calling /usr/bin/env python which uses <ptxdist>/bin/python, a
symlink to python2.

Signed-off-by: Clemens Gruber <[email protected]>
---
 scripts/certdata2pem.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/certdata2pem.py b/scripts/certdata2pem.py
index 0482894..fe28a96 100755
--- a/scripts/certdata2pem.py
+++ b/scripts/certdata2pem.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # vim:set et sw=4:
 #
 # certdata2pem.py - splits certdata.txt into multiple files
-- 
2.9.0


_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to