Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754569Ab0A2Lu6 (ORCPT ); Fri, 29 Jan 2010 06:50:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932176Ab0A2Lu5 (ORCPT ); Fri, 29 Jan 2010 06:50:57 -0500 Received: from cantor2.suse.de ([195.135.220.15]:52671 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753670Ab0A2Lu4 (ORCPT ); Fri, 29 Jan 2010 06:50:56 -0500 Message-ID: <4B62CBA1.3060001@suse.cz> Date: Fri, 29 Jan 2010 12:50:57 +0100 From: Michal Marek User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Jarod Wilson Cc: =?ISO-8859-1?Q?Am=E9rico_Wang?= , Don Zickus , linux-kernel@vger.kernel.org Subject: Re: [scripts] python: change scripts to use system python instead of env References: <20100126222041.GR4472@redhat.com> <2375c9f91001261834l1e267a8bp61633f63b3752f6f@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1149 Lines: 32 Jarod Wilson napsal(a): > On Tue, Jan 26, 2010 at 9:34 PM, Am?rico Wang wrote: >> On Wed, Jan 27, 2010 at 6:20 AM, Don Zickus 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 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/