Execute /usr/bin/python directly instead of calling /usr/bin/env python.

ticket 608

This depends on ticket 674 to be applied first.

rob
>From ca498f22dbd24aff1ee4af52c18787deb682cce4 Mon Sep 17 00:00:00 2001
From: Rob Crittenden <[email protected]>
Date: Thu, 13 Jan 2011 12:26:30 -0500
Subject: [PATCH] Execute /usr/bin/python directly instead of /usr/bin/env python

ticket 608
---
 contrib/RHEL4/setup.py            |    2 +-
 doc/examples/python-api.py        |    2 +-
 install/tools/ipa-compat-manage   |    2 +-
 install/tools/ipa-host-net-manage |    2 +-
 install/tools/ipa-ldap-updater    |    2 +-
 install/tools/ipa-nis-manage      |    2 +-
 install/tools/ipactl              |    2 +-
 ipa                               |    2 +-
 ipapython/setup.py.in             |    2 +-
 lite-server.py                    |    2 +-
 make-test                         |    2 +-
 makeapi                           |    2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/contrib/RHEL4/setup.py b/contrib/RHEL4/setup.py
index df0adcf..f535875 100644
--- a/contrib/RHEL4/setup.py
+++ b/contrib/RHEL4/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 # Copyright (C) 2007  Red Hat
 # see file 'COPYING' for use and warranty information
 #
diff --git a/doc/examples/python-api.py b/doc/examples/python-api.py
index 0041347..60578e8 100755
--- a/doc/examples/python-api.py
+++ b/doc/examples/python-api.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 # Authors:
 #   Jason Gerard DeRose <[email protected]>
 #
diff --git a/install/tools/ipa-compat-manage b/install/tools/ipa-compat-manage
index 4efce41..bc88cd3 100755
--- a/install/tools/ipa-compat-manage
+++ b/install/tools/ipa-compat-manage
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 # Authors: Rob Crittenden <[email protected]>
 # Authors: Simo Sorce <[email protected]>
 #
diff --git a/install/tools/ipa-host-net-manage b/install/tools/ipa-host-net-manage
index 84d8b47..8a8267f 100755
--- a/install/tools/ipa-host-net-manage
+++ b/install/tools/ipa-host-net-manage
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 # Authors: Jr Aquino <[email protected]>
 # Authors: Rob Crittenden <[email protected]>
 # Authors: Simo Sorce <[email protected]>
diff --git a/install/tools/ipa-ldap-updater b/install/tools/ipa-ldap-updater
index 239b24e..161766e 100755
--- a/install/tools/ipa-ldap-updater
+++ b/install/tools/ipa-ldap-updater
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 # Authors: Rob Crittenden <[email protected]>
 #
 # Copyright (C) 2008  Red Hat
diff --git a/install/tools/ipa-nis-manage b/install/tools/ipa-nis-manage
index 81bb9cd..310ee14 100755
--- a/install/tools/ipa-nis-manage
+++ b/install/tools/ipa-nis-manage
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 # Authors: Rob Crittenden <[email protected]>
 # Authors: Simo Sorce <[email protected]>
 #
diff --git a/install/tools/ipactl b/install/tools/ipactl
index 866f55a..059b860 100755
--- a/install/tools/ipactl
+++ b/install/tools/ipactl
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 # Authors: Simo Sorce <[email protected]>
 #
 # Copyright (C) 2008-2010  Red Hat
diff --git a/ipa b/ipa
index 2e1623f..c9b7338 100755
--- a/ipa
+++ b/ipa
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 
 # Authors:
 #   Jason Gerard DeRose <[email protected]>
diff --git a/ipapython/setup.py.in b/ipapython/setup.py.in
index 5eca846..d9ee28c 100644
--- a/ipapython/setup.py.in
+++ b/ipapython/setup.py.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 # Copyright (C) 2007  Red Hat
 # see file 'COPYING' for use and warranty information
 #
diff --git a/lite-server.py b/lite-server.py
index 2ba92d6..8303440 100755
--- a/lite-server.py
+++ b/lite-server.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 
 # Authors:
 #   Jason Gerard DeRose <[email protected]>
diff --git a/make-test b/make-test
index d6d2812..b429a71 100755
--- a/make-test
+++ b/make-test
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 
 """
 Run IPA unit tests under multiple versions of Python (if present).
diff --git a/makeapi b/makeapi
index 30eac18..2c7680f 100755
--- a/makeapi
+++ b/makeapi
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 # Authors:
 #   Rob Crittenden <[email protected]>
 #
-- 
1.7.3.4

_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to