[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Always use $(PYTHON) scriptname.py.
From: |
John Mandereau |
Subject: |
Re: [PATCH] Always use $(PYTHON) scriptname.py. |
Date: |
Sun, 27 Dec 2009 18:09:15 +0100 |
Le dimanche 27 décembre 2009 à 16:53 +0100, Matthias Kilian a écrit :
> The often-used idiom #!/usr/bin/env python not only is potentially
> dangerous, but it also fails if there are several versions of python
> installed, with the python binaries named python2.4, python2.5,
> python2.6, ...
>
> This patch hopefully catches all remaining cases of a missing $(PYTHON).
Thanks, applied.
> - $(auxscript-dir)/yyout2grammar.py $(outdir)/parser.output $@
> + $(PYTHON) $(auxscript-dir)/yyout2grammar.py $(outdir)/parser.output $@
Oops, this script should be in scripts/build, not scripts/auxiliar, but
this is my fault, not yours :-D
Best,
John
signature.asc
Description: Ceci est une partie de message numériquement signée