svn commit: r345100 - in head/devel/libopencm3: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Mar 7 05:17:44 UTC 2014
On Wed, Feb 19, 2014 at 03:08:56PM +0000, Lev A. Serebryakov wrote:
> New Revision: 345100
> URL: http://svnweb.freebsd.org/changeset/ports/345100
> QAT: https://qat.redports.org/buildarchive/r345100/
>
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python
> -+#!/usr/bin/env python2
> ++#! /usr/bin/env /usr/local/bin/python2
Can you elaborate on this change a bit? env(1) is mostly used in this
situation to rely on PATH value in the environment, to avoid having to
specify full path to the executable, but you do precisely this. Is it
a typo, or you rely to some other variable passed via environment? It
also contains a style bug (space after #!). Original line looked good
already (/usr/local/bin is in our PATH), unless I'm missing something.
> -+#!/usr/bin/python2
> ++#! /usr/local/bin/python2
This one makes more sense (modulo the style bug), but then again: what
is wrong with canonical '#!/usr/bin/env python2' ?
./danfe
More information about the svn-ports-all
mailing list