summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-01-16 15:33:23 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-01-16 15:33:23 (GMT)
commit8f8ec92de85b40b9e7bec81ae87f18cc3996c560 (patch)
tree4aaf0102840557e349731d720f3ca7fe690baa5c /Tools/scripts
parent5cacb84d836bd1f618702adaf0c6e704268f677d (diff)
parentaea79dd2c622a9b2a52e0b511e48ca86e0df9134 (diff)
downloadcpython-8f8ec92de85b40b9e7bec81ae87f18cc3996c560.zip
cpython-8f8ec92de85b40b9e7bec81ae87f18cc3996c560.tar.gz
cpython-8f8ec92de85b40b9e7bec81ae87f18cc3996c560.tar.bz2
Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
Diffstat (limited to 'Tools/scripts')
-rw-r--r--[-rwxr-xr-x]Tools/scripts/analyze_dxp.py0
-rwxr-xr-x[-rw-r--r--]Tools/scripts/checkpip.py2
-rw-r--r--[-rwxr-xr-x]Tools/scripts/run_tests.py0
-rw-r--r--[-rwxr-xr-x]Tools/scripts/win_add2path.py0
4 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/analyze_dxp.py b/Tools/scripts/analyze_dxp.py
index bde931e..bde931e 100755..100644
--- a/Tools/scripts/analyze_dxp.py
+++ b/Tools/scripts/analyze_dxp.py
diff --git a/Tools/scripts/checkpip.py b/Tools/scripts/checkpip.py
index 835101e..8a64eda 100644..100755
--- a/Tools/scripts/checkpip.py
+++ b/Tools/scripts/checkpip.py
@@ -1,4 +1,4 @@
-#/usr/bin/env python3
+#!/usr/bin/env python3
"""
Checks that the version of the projects bundled in ensurepip are the latest
versions available.
diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py
index e2a2050..e2a2050 100755..100644
--- a/Tools/scripts/run_tests.py
+++ b/Tools/scripts/run_tests.py
diff --git a/Tools/scripts/win_add2path.py b/Tools/scripts/win_add2path.py
index c85bea5..c85bea5 100755..100644
--- a/Tools/scripts/win_add2path.py
+++ b/Tools/scripts/win_add2path.py