From: Michal Marek <mmarek@suse.cz>
To: Jarod Wilson <jarod@wilsonet.com>
Cc: "Américo Wang" <xiyou.wangcong@gmail.com>,
"Don Zickus" <dzickus@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: [scripts] python: change scripts to use system python instead of env
Date: Fri, 29 Jan 2010 12:50:57 +0100 [thread overview]
Message-ID: <4B62CBA1.3060001@suse.cz> (raw)
In-Reply-To: <be3a4a1001281221m47d5fae8v55aa18b7de1aedff@mail.gmail.com>
Jarod Wilson napsal(a):
> On Tue, Jan 26, 2010 at 9:34 PM, Américo Wang <xiyou.wangcong@gmail.com> wrote:
>> On Wed, Jan 27, 2010 at 6:20 AM, Don Zickus <dzickus@redhat.com> wrote:
>>> Just a small change to a couple of scripts to go from
>>>
>>> #!/usr/bin/env python
>>>
>>> to
>>>
>>> #!/usr/bin/python
...
>>
>> Hmm, so python3 will be installed in /usr/local/bin?
>
> No, it will be /usr/bin/python3, but its possible a user would
> configure their environment to have their default python interpreter
> be python3, in which case env python would be using /usr/bin/python3
> rather than /usr/bin/python, which can lead to things mysteriously
> running differently or not running at all.
>
> Acked-by: Jarod Wilson <jarod@redhat.com>
OK, and we have other python scripts that already use #!/usr/bin/python,
so this patch makes sense regardless of python3. I added it to the
kbuild tree.
Michal
prev parent reply other threads:[~2010-01-29 11:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-26 22:20 Fwd: [scripts] python: change scripts to use system python instead of env Don Zickus
2010-01-27 2:34 ` Américo Wang
2010-01-28 20:21 ` Jarod Wilson
2010-01-29 11:50 ` Michal Marek [this message]
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=4B62CBA1.3060001@suse.cz \
--to=mmarek@suse.cz \
--cc=dzickus@redhat.com \
--cc=jarod@wilsonet.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
/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