* [ptxdist] [PATCH] ca-certificates: fix python call in shebang
@ 2016-07-04 15:58 Clemens Gruber
0 siblings, 0 replies; only message in thread
From: Clemens Gruber @ 2016-07-04 15:58 UTC (permalink / raw)
To: ptxdist; +Cc: Clemens Gruber
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 <clemens.gruber@pqgruber.com>
---
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
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-04 15:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-04 15:58 [ptxdist] [PATCH] ca-certificates: fix python call in shebang Clemens Gruber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox