summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2016-07-04 17:58:38 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-07-05 08:30:37 +0200
commitc00ab4ae721f3a0e728f3e0c6b86640e56f1d48e (patch)
tree6797f03462012f784db9875cc7b3f9d53f903fe3
parent51022d83b22d0848e8837cc162207b71442cac38 (diff)
downloadptxdist-c00ab4ae721f3a0e728f3e0c6b86640e56f1d48e.tar.gz
ca-certificates: fix python call in shebang
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> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xscripts/certdata2pem.py2
1 files changed, 1 insertions, 1 deletions
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