On Fri, Jul 01, 2016 at 11:15:45AM +0200, Clemens Gruber wrote: > On ArchLinux, python defaults to python 3.5.1, which breaks the script. > Fix it by calling python2 directly instead of assuming python != > python3. > > 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..efb0eb3 100755 > --- a/scripts/certdata2pem.py > +++ b/scripts/certdata2pem.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/python > +#!/usr/bin/python2
Can you try '#!/usr/bin/env python'? That should work too. Michael > # vim:set et sw=4: > # > # certdata2pem.py - splits certdata.txt into multiple files > -- > 2.9.0 > > > _______________________________________________ > ptxdist mailing list > [email protected] -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list [email protected]
