summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-11 22:33:25 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-03-11 22:33:25 (GMT)
commit9cf41d0c9d48e6f7df971ebc596aa4cf269b70bb (patch)
treef9501c1ee9cda66cc615050332b2372dd0740751
parentafa595b31bc3e3ff1fd1e5f03ee9dd4db14371a7 (diff)
downloadcpython-9cf41d0c9d48e6f7df971ebc596aa4cf269b70bb.zip
cpython-9cf41d0c9d48e6f7df971ebc596aa4cf269b70bb.tar.gz
cpython-9cf41d0c9d48e6f7df971ebc596aa4cf269b70bb.tar.bz2
normalize shebang lines to #!/usr/bin/env python
-rwxr-xr-xDemo/cgi/cgi1.py2
-rwxr-xr-xDemo/cgi/cgi2.py2
-rwxr-xr-xDemo/cgi/cgi3.py2
-rw-r--r--Demo/turtle/tdemo_I_dontlike_tiltdemo.py2
-rw-r--r--Demo/turtle/tdemo_bytedesign.py2
-rw-r--r--Demo/turtle/tdemo_clock.py2
-rw-r--r--Demo/turtle/tdemo_fractalcurves.py2
-rw-r--r--Demo/turtle/tdemo_lindenmayer_indian.py2
-rw-r--r--Demo/turtle/tdemo_minimal_hanoi.py2
-rw-r--r--Demo/turtle/tdemo_paint.py2
-rw-r--r--Demo/turtle/tdemo_peace.py2
-rw-r--r--Demo/turtle/tdemo_penrose.py2
-rw-r--r--Demo/turtle/tdemo_planet_and_moon.py2
-rw-r--r--Demo/turtle/tdemo_tree.py2
-rw-r--r--Demo/turtle/tdemo_yinyang.py2
-rw-r--r--Demo/turtle/turtleDemo.py2
-rw-r--r--Demo/turtle/turtledemo_two_canvases.py2
-rw-r--r--Doc/includes/email-alternative.py2
-rw-r--r--Lib/test/test_bz2.py2
-rw-r--r--Lib/test/test_optparse.py2
-rwxr-xr-xMac/BuildScript/build-installer.py2
-rw-r--r--Mac/Tools/fixapplepython23.py2
-rw-r--r--Mac/scripts/zappycfiles.py2
-rwxr-xr-xTools/faqwiz/faqw.py2
-rw-r--r--Tools/pybench/Setup.py2
-rwxr-xr-xTools/scripts/parseentities.py2
26 files changed, 26 insertions, 26 deletions
diff --git a/Demo/cgi/cgi1.py b/Demo/cgi/cgi1.py
index 9d25c7d..c6f3efa 100755
--- a/Demo/cgi/cgi1.py
+++ b/Demo/cgi/cgi1.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
"""CGI test 1 - check server setup."""
diff --git a/Demo/cgi/cgi2.py b/Demo/cgi/cgi2.py
index d956f65..8026c55 100755
--- a/Demo/cgi/cgi2.py
+++ b/Demo/cgi/cgi2.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
"""CGI test 2 - basic use of cgi module."""
diff --git a/Demo/cgi/cgi3.py b/Demo/cgi/cgi3.py
index a3421b5..6693a86 100755
--- a/Demo/cgi/cgi3.py
+++ b/Demo/cgi/cgi3.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
"""CGI test 3 (persistent data)."""
diff --git a/Demo/turtle/tdemo_I_dontlike_tiltdemo.py b/Demo/turtle/tdemo_I_dontlike_tiltdemo.py
index adec52b..c9e6e65 100644
--- a/Demo/turtle/tdemo_I_dontlike_tiltdemo.py
+++ b/Demo/turtle/tdemo_I_dontlike_tiltdemo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo-I_dont_like_tiltdemo.py
diff --git a/Demo/turtle/tdemo_bytedesign.py b/Demo/turtle/tdemo_bytedesign.py
index 6f53e9f..bed671d 100644
--- a/Demo/turtle/tdemo_bytedesign.py
+++ b/Demo/turtle/tdemo_bytedesign.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_bytedesign.py
diff --git a/Demo/turtle/tdemo_clock.py b/Demo/turtle/tdemo_clock.py
index 11c37f0..b6280bb 100644
--- a/Demo/turtle/tdemo_clock.py
+++ b/Demo/turtle/tdemo_clock.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: cp1252 -*-
""" turtle-example-suite:
diff --git a/Demo/turtle/tdemo_fractalcurves.py b/Demo/turtle/tdemo_fractalcurves.py
index f34c5fc..2ac8ecd 100644
--- a/Demo/turtle/tdemo_fractalcurves.py
+++ b/Demo/turtle/tdemo_fractalcurves.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_fractalCurves.py
diff --git a/Demo/turtle/tdemo_lindenmayer_indian.py b/Demo/turtle/tdemo_lindenmayer_indian.py
index 4f20716..92c8cff 100644
--- a/Demo/turtle/tdemo_lindenmayer_indian.py
+++ b/Demo/turtle/tdemo_lindenmayer_indian.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
xtx_lindenmayer_indian.py
diff --git a/Demo/turtle/tdemo_minimal_hanoi.py b/Demo/turtle/tdemo_minimal_hanoi.py
index 4e2ad48..8a1caa8 100644
--- a/Demo/turtle/tdemo_minimal_hanoi.py
+++ b/Demo/turtle/tdemo_minimal_hanoi.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_minimal_hanoi.py
diff --git a/Demo/turtle/tdemo_paint.py b/Demo/turtle/tdemo_paint.py
index 65741da..e1d6303 100644
--- a/Demo/turtle/tdemo_paint.py
+++ b/Demo/turtle/tdemo_paint.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_paint.py
diff --git a/Demo/turtle/tdemo_peace.py b/Demo/turtle/tdemo_peace.py
index ea57069..13044c9 100644
--- a/Demo/turtle/tdemo_peace.py
+++ b/Demo/turtle/tdemo_peace.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_peace.py
diff --git a/Demo/turtle/tdemo_penrose.py b/Demo/turtle/tdemo_penrose.py
index 4d8a61e..f5824d7 100644
--- a/Demo/turtle/tdemo_penrose.py
+++ b/Demo/turtle/tdemo_penrose.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" xturtle-example-suite:
xtx_kites_and_darts.py
diff --git a/Demo/turtle/tdemo_planet_and_moon.py b/Demo/turtle/tdemo_planet_and_moon.py
index e3c87a0..223d87b 100644
--- a/Demo/turtle/tdemo_planet_and_moon.py
+++ b/Demo/turtle/tdemo_planet_and_moon.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_planets_and_moon.py
diff --git a/Demo/turtle/tdemo_tree.py b/Demo/turtle/tdemo_tree.py
index 3c7178c..6fc8735 100644
--- a/Demo/turtle/tdemo_tree.py
+++ b/Demo/turtle/tdemo_tree.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_tree.py
diff --git a/Demo/turtle/tdemo_yinyang.py b/Demo/turtle/tdemo_yinyang.py
index 47b8b2f..04dd758 100644
--- a/Demo/turtle/tdemo_yinyang.py
+++ b/Demo/turtle/tdemo_yinyang.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_yinyang.py
diff --git a/Demo/turtle/turtleDemo.py b/Demo/turtle/turtleDemo.py
index 38a44e0..3030d91 100644
--- a/Demo/turtle/turtleDemo.py
+++ b/Demo/turtle/turtleDemo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import sys
import os
diff --git a/Demo/turtle/turtledemo_two_canvases.py b/Demo/turtle/turtledemo_two_canvases.py
index 5cde0ef..5a9831d 100644
--- a/Demo/turtle/turtledemo_two_canvases.py
+++ b/Demo/turtle/turtledemo_two_canvases.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
## DEMONSTRATES USE OF 2 CANVASES, SO CANNOT BE RUN IN DEMOVIEWER!
"""turtle example: Using TurtleScreen and RawTurtle
for drawing on two distinct canvases.
diff --git a/Doc/includes/email-alternative.py b/Doc/includes/email-alternative.py
index 82e3ffa..82d605e 100644
--- a/Doc/includes/email-alternative.py
+++ b/Doc/includes/email-alternative.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import smtplib
diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py
index f68586d..cbe47fd 100644
--- a/Lib/test/test_bz2.py
+++ b/Lib/test/test_bz2.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
from test import test_support
from test.test_support import TESTFN, import_module
diff --git a/Lib/test/test_optparse.py b/Lib/test/test_optparse.py
index 7733813..7275d89 100644
--- a/Lib/test/test_optparse.py
+++ b/Lib/test/test_optparse.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Test suite for Optik. Supplied by Johannes Gijsbers
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index dbb968e..14a3a8e 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
"""
This script is used to build the "official unofficial" universal build on
Mac OS X. It requires Mac OS X 10.4, Xcode 2.2 and the 10.4u SDK to do its
diff --git a/Mac/Tools/fixapplepython23.py b/Mac/Tools/fixapplepython23.py
index 6ba5401..03c799b 100644
--- a/Mac/Tools/fixapplepython23.py
+++ b/Mac/Tools/fixapplepython23.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
"""fixapplepython23 - Fix Apple-installed Python 2.3 (on Mac OS X 10.3)
Python 2.3 (and 2.3.X for X<5) have the problem that building an extension
diff --git a/Mac/scripts/zappycfiles.py b/Mac/scripts/zappycfiles.py
index a8193c1..d829159 100644
--- a/Mac/scripts/zappycfiles.py
+++ b/Mac/scripts/zappycfiles.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
"""Recursively zap all .pyc and .pyo files"""
import os
import sys
diff --git a/Tools/faqwiz/faqw.py b/Tools/faqwiz/faqw.py
index c6c1a6d..fea98ec 100755
--- a/Tools/faqwiz/faqw.py
+++ b/Tools/faqwiz/faqw.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#!/usr/bin/env python
"""FAQ wizard bootstrap."""
diff --git a/Tools/pybench/Setup.py b/Tools/pybench/Setup.py
index 21e654a..309f3db 100644
--- a/Tools/pybench/Setup.py
+++ b/Tools/pybench/Setup.py
@@ -1,4 +1,4 @@
-#!python
+#!/usr/bin/env python
# Setup file for pybench
#
diff --git a/Tools/scripts/parseentities.py b/Tools/scripts/parseentities.py
index cf4e17c..4a44fb4 100755
--- a/Tools/scripts/parseentities.py
+++ b/Tools/scripts/parseentities.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
""" Utility for parsing HTML entity definitions available from:
http://www.w3.org/ as e.g.