aboutsummaryrefslogtreecommitdiff
path: root/src/appl
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2018-07-03 01:20:50 -0400
committerGreg Hudson <ghudson@mit.edu>2018-07-05 15:02:24 -0400
commit2bd410ecdb366083fe9b4e5f6ac4b741b624230b (patch)
tree90d4cc301aac54d15deb906a6ff13b616a537990 /src/appl
parent368b0b02390f0450c0123db7b172206d9847b6fd (diff)
downloadkrb5-2bd410ecdb366083fe9b4e5f6ac4b741b624230b.zip
krb5-2bd410ecdb366083fe9b4e5f6ac4b741b624230b.tar.gz
krb5-2bd410ecdb366083fe9b4e5f6ac4b741b624230b.tar.bz2
Explicitly look for python2 in configure.in
The executable "python" has traditionally been Python 2, but is becoming more ambiguous as operating systems transition towards Python 3. Look for "python2" in the path in preference to "python", and check that what we found isn't Python 3. Remove the "#!/usr/bin/python" headers at the start of Python test scripts since we run them explicitly under python, not as executables. Execute paste-kdcproxy.py via sys.executable in t_proxy.py so that it doesn't need a #!/usr/bin/python header. ticket: 8709 (new)
Diffstat (limited to 'src/appl')
-rwxr-xr-xsrc/appl/gss-sample/t_gss_sample.py2
-rwxr-xr-xsrc/appl/user_user/t_user2user.py1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/appl/gss-sample/t_gss_sample.py b/src/appl/gss-sample/t_gss_sample.py
index c053b27..77f3978 100755
--- a/src/appl/gss-sample/t_gss_sample.py
+++ b/src/appl/gss-sample/t_gss_sample.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
# Copyright (C) 2010 by the Massachusetts Institute of Technology.
# All rights reserved.
#
diff --git a/src/appl/user_user/t_user2user.py b/src/appl/user_user/t_user2user.py
index 2a7d03f..2c054f1 100755
--- a/src/appl/user_user/t_user2user.py
+++ b/src/appl/user_user/t_user2user.py
@@ -1,4 +1,3 @@
-#!/usr/bin/python
from k5test import *
# If uuserver is not compiled under -DDEBUG, then set to 0