summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/freeze/freeze.py2
-rwxr-xr-xTools/modulator/Tkextra.py2
-rwxr-xr-xTools/modulator/modulator.py2
-rwxr-xr-xTools/scripts/byteyears.py2
-rwxr-xr-xTools/scripts/checkpyc.py2
-rwxr-xr-xTools/scripts/classfix.py2
-rwxr-xr-xTools/scripts/copytime.py2
-rwxr-xr-xTools/scripts/dutree.py2
-rwxr-xr-xTools/scripts/eptags.py2
-rwxr-xr-xTools/scripts/findlinksto.py2
-rwxr-xr-xTools/scripts/fixcid.py2
-rwxr-xr-xTools/scripts/fixheader.py2
-rwxr-xr-xTools/scripts/ftpmirror.py2
-rwxr-xr-xTools/scripts/h2py.py2
-rwxr-xr-xTools/scripts/ifdef.py2
-rwxr-xr-xTools/scripts/linktree.py2
-rwxr-xr-xTools/scripts/lll.py2
-rwxr-xr-xTools/scripts/methfix.py2
-rwxr-xr-xTools/scripts/mkreal.py2
-rwxr-xr-xTools/scripts/objgraph.py2
-rwxr-xr-xTools/scripts/pdeps.py2
-rwxr-xr-xTools/scripts/pindent.py3
-rwxr-xr-xTools/scripts/ptags.py2
-rwxr-xr-xTools/scripts/pystone.py2
-rwxr-xr-xTools/scripts/suff.py2
-rwxr-xr-xTools/scripts/sum5.py2
-rwxr-xr-xTools/scripts/which.py2
-rwxr-xr-xTools/scripts/xxci.py2
28 files changed, 28 insertions, 29 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py
index eb91ecb..7018aca 100755
--- a/Tools/freeze/freeze.py
+++ b/Tools/freeze/freeze.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
"""Freeze a Python script into a binary.
diff --git a/Tools/modulator/Tkextra.py b/Tools/modulator/Tkextra.py
index 25681ae..15b16a9 100755
--- a/Tools/modulator/Tkextra.py
+++ b/Tools/modulator/Tkextra.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# A Python function that generates dialog boxes with a text message,
# optional bitmap, and any number of buttons.
diff --git a/Tools/modulator/modulator.py b/Tools/modulator/modulator.py
index 02ad80d..da3ce12 100755
--- a/Tools/modulator/modulator.py
+++ b/Tools/modulator/modulator.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
#
# Modulator - Generate skeleton modules.
#
diff --git a/Tools/scripts/byteyears.py b/Tools/scripts/byteyears.py
index 4abdca6..bada5a5 100755
--- a/Tools/scripts/byteyears.py
+++ b/Tools/scripts/byteyears.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Print the product of age and size of each file, in suitable units.
#
diff --git a/Tools/scripts/checkpyc.py b/Tools/scripts/checkpyc.py
index 6ef6492..6df0472 100755
--- a/Tools/scripts/checkpyc.py
+++ b/Tools/scripts/checkpyc.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Check that all ".pyc" files exist and are up-to-date
# Uses module 'os'
diff --git a/Tools/scripts/classfix.py b/Tools/scripts/classfix.py
index e676051..53ea0b8 100755
--- a/Tools/scripts/classfix.py
+++ b/Tools/scripts/classfix.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# This script is obsolete -- it is kept for historical purposes only.
#
diff --git a/Tools/scripts/copytime.py b/Tools/scripts/copytime.py
index 599e337..d01643b 100755
--- a/Tools/scripts/copytime.py
+++ b/Tools/scripts/copytime.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Copy one file's atime and mtime to another
diff --git a/Tools/scripts/dutree.py b/Tools/scripts/dutree.py
index 58d0b14..4cb9353 100755
--- a/Tools/scripts/dutree.py
+++ b/Tools/scripts/dutree.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Format du output in a tree shape
import os, string, sys
diff --git a/Tools/scripts/eptags.py b/Tools/scripts/eptags.py
index 63b5781..86b6ee1 100755
--- a/Tools/scripts/eptags.py
+++ b/Tools/scripts/eptags.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# eptags
#
diff --git a/Tools/scripts/findlinksto.py b/Tools/scripts/findlinksto.py
index d2fc430..06821cd 100755
--- a/Tools/scripts/findlinksto.py
+++ b/Tools/scripts/findlinksto.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# findlinksto
#
diff --git a/Tools/scripts/fixcid.py b/Tools/scripts/fixcid.py
index c1df5f3..4c4d585 100755
--- a/Tools/scripts/fixcid.py
+++ b/Tools/scripts/fixcid.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Perform massive identifier substitution on C source files.
# This actually tokenizes the files (to some extent) so it can
diff --git a/Tools/scripts/fixheader.py b/Tools/scripts/fixheader.py
index 8f121fa..774b907 100755
--- a/Tools/scripts/fixheader.py
+++ b/Tools/scripts/fixheader.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Add some standard cpp magic to a header file
diff --git a/Tools/scripts/ftpmirror.py b/Tools/scripts/ftpmirror.py
index 10520f9..7878847 100755
--- a/Tools/scripts/ftpmirror.py
+++ b/Tools/scripts/ftpmirror.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Mirror a remote ftp subtree into a local directory tree.
# Basic usage: ftpmirror [options] host remotedir localdir
diff --git a/Tools/scripts/h2py.py b/Tools/scripts/h2py.py
index 581f92f..c34073d 100755
--- a/Tools/scripts/h2py.py
+++ b/Tools/scripts/h2py.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Read #define's and translate to Python code.
# Handle #include statements.
diff --git a/Tools/scripts/ifdef.py b/Tools/scripts/ifdef.py
index 9d74be2..ff64425 100755
--- a/Tools/scripts/ifdef.py
+++ b/Tools/scripts/ifdef.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Selectively preprocess #ifdef / #ifndef statements.
# Usage:
diff --git a/Tools/scripts/linktree.py b/Tools/scripts/linktree.py
index 3239434..73825c9 100755
--- a/Tools/scripts/linktree.py
+++ b/Tools/scripts/linktree.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# linktree
#
diff --git a/Tools/scripts/lll.py b/Tools/scripts/lll.py
index 0043645..d107080 100755
--- a/Tools/scripts/lll.py
+++ b/Tools/scripts/lll.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Find symbolic links and show where they point to.
# Arguments are directories to search; default is current directory.
diff --git a/Tools/scripts/methfix.py b/Tools/scripts/methfix.py
index 60f2a56..b0918d6 100755
--- a/Tools/scripts/methfix.py
+++ b/Tools/scripts/methfix.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Fix Python source files to avoid using
# def method(self, (arg1, ..., argn)):
diff --git a/Tools/scripts/mkreal.py b/Tools/scripts/mkreal.py
index bc4dd13..a065c17 100755
--- a/Tools/scripts/mkreal.py
+++ b/Tools/scripts/mkreal.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# mkreal
#
diff --git a/Tools/scripts/objgraph.py b/Tools/scripts/objgraph.py
index c6bbe66..4eab79b 100755
--- a/Tools/scripts/objgraph.py
+++ b/Tools/scripts/objgraph.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#! /usr/bin/env python
# objgraph
#
diff --git a/Tools/scripts/pdeps.py b/Tools/scripts/pdeps.py
index 8cf573f..fb730f1 100755
--- a/Tools/scripts/pdeps.py
+++ b/Tools/scripts/pdeps.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# pdeps
#
diff --git a/Tools/scripts/pindent.py b/Tools/scripts/pindent.py
index 6432f4c..1845ed8 100755
--- a/Tools/scripts/pindent.py
+++ b/Tools/scripts/pindent.py
@@ -1,5 +1,4 @@
-#! /usr/local/bin/python
-#! /usr/local/bin/python
+#! /usr/bin/env python
# This file contains a class and a main program that perform two
# related (though complimentary) formatting operations on Python
diff --git a/Tools/scripts/ptags.py b/Tools/scripts/ptags.py
index b8fc232..f63746e 100755
--- a/Tools/scripts/ptags.py
+++ b/Tools/scripts/ptags.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# ptags
#
diff --git a/Tools/scripts/pystone.py b/Tools/scripts/pystone.py
index 954e6c9..c388982 100755
--- a/Tools/scripts/pystone.py
+++ b/Tools/scripts/pystone.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
"""
"PYSTONE" Benchmark Program
diff --git a/Tools/scripts/suff.py b/Tools/scripts/suff.py
index 491fd3b..826e236 100755
--- a/Tools/scripts/suff.py
+++ b/Tools/scripts/suff.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# suff
#
diff --git a/Tools/scripts/sum5.py b/Tools/scripts/sum5.py
index fdb83fa..09bc686 100755
--- a/Tools/scripts/sum5.py
+++ b/Tools/scripts/sum5.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# print md5 checksum for files
diff --git a/Tools/scripts/which.py b/Tools/scripts/which.py
index 07c0d2e..0aff2cd 100755
--- a/Tools/scripts/which.py
+++ b/Tools/scripts/which.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Variant of "which".
# On stderr, near and total misses are reported.
diff --git a/Tools/scripts/xxci.py b/Tools/scripts/xxci.py
index 9ab5669..d8608a0 100755
--- a/Tools/scripts/xxci.py
+++ b/Tools/scripts/xxci.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# xxci
#