mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] ca-certificates: call python2 instead of python
Date: Fri, 1 Jul 2016 12:37:55 +0200	[thread overview]
Message-ID: <20160701103755.GN18320@pengutronix.de> (raw)
In-Reply-To: <20160701091546.22134-3-clemens.gruber@pqgruber.com>

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 <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..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
> ptxdist@pengutronix.de

-- 
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
ptxdist@pengutronix.de

  reply	other threads:[~2016-07-01 10:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-01  9:15 [ptxdist] [PATCH] libcurl: bump version and fix URL Clemens Gruber
2016-07-01  9:15 ` [ptxdist] [PATCH] ca-certificates: update certificates Clemens Gruber
2016-07-01  9:15 ` [ptxdist] [PATCH] ca-certificates: call python2 instead of python Clemens Gruber
2016-07-01 10:37   ` Michael Olbrich [this message]
2016-07-01 14:31     ` Clemens Gruber
2016-07-04  6:16       ` Michael Olbrich
2016-07-04 15:51         ` Clemens Gruber
2016-07-01  9:15 ` [ptxdist] [PATCH] mpg123: bump version to 1.23.5 Clemens Gruber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160701103755.GN18320@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox