Correctly use Python2

This commit is contained in:
Your Name
2020-10-22 17:04:32 +03:00
committed by Liru Færs
parent e6dc4d404f
commit ca7ea4a541
21 changed files with 22 additions and 22 deletions

View File

@@ -30,8 +30,8 @@ if (WINDOWS)
) )
endif() endif()
elseif (EXISTS /etc/arch-release) elseif (EXISTS /usr/bin/python2)
# On Archlinux, use Python 2 # if this is there, use it
find_program(PYTHON_EXECUTABLE python2 PATHS /usr/bin) find_program(PYTHON_EXECUTABLE python2 PATHS /usr/bin)

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file run_build_test.py @file run_build_test.py
@author Nat Goodspeed @author Nat Goodspeed

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file start-client.py @file start-client.py

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file test_win32_manifest.py @file test_win32_manifest.py
@brief Test an assembly binding version and uniqueness in a windows dll or exe. @brief Test an assembly binding version and uniqueness in a windows dll or exe.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file test_llsdmessage_peer.py @file test_llsdmessage_peer.py
@author Nat Goodspeed @author Nat Goodspeed

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file testrunner.py @file testrunner.py
@author Nat Goodspeed @author Nat Goodspeed

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file generate_breakpad_symbols.py @file generate_breakpad_symbols.py
@author Brad Kittenbrink <brad@lindenlab.com> @author Brad Kittenbrink <brad@lindenlab.com>

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Send a URL of the form secondlife://... to Second Life. # Send a URL of the form secondlife://... to Second Life.
# #

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Install @VIEWER_CHANNEL@. This script can install the viewer both # Install @VIEWER_CHANNEL@. This script can install the viewer both
# system-wide and for an individual user. # system-wide and for an individual user.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# This script loads a web page in the 'default' graphical web browser. # This script loads a web page in the 'default' graphical web browser.
# It MUST return immediately (or soon), so the browser should be # It MUST return immediately (or soon), so the browser should be

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
SCRIPTSRC=`readlink -f "$0" || echo "$0"` SCRIPTSRC=`readlink -f "$0" || echo "$0"`
RUN_PATH=`dirname "${SCRIPTSRC}" || echo .` RUN_PATH=`dirname "${SCRIPTSRC}" || echo .`

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Register a protocol handler (default: handle_secondlifeprotocol.sh) for # Register a protocol handler (default: handle_secondlifeprotocol.sh) for
# URLs of the form secondlife://... # URLs of the form secondlife://...

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
## Here are some configuration options for Linux Client Testers. ## Here are some configuration options for Linux Client Testers.
## These options are for self-assisted troubleshooting during this beta ## These options are for self-assisted troubleshooting during this beta

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file viewer_manifest.py @file viewer_manifest.py
@author Ryan Williams @author Ryan Williams

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python2
""" """
@file test_llmanifest.py @file test_llmanifest.py
@author Ryan Williams @author Ryan Williams

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
SAVEDIR=`pwd` SAVEDIR=`pwd`

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
SAVEDIR=`pwd` SAVEDIR=`pwd`

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#(C) 2011 SIANA GEARZ #(C) 2011 SIANA GEARZ
usage() { usage() {

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python2
"""\ """\
@file setup-path.py @file setup-path.py
@brief Get the python library directory in the path, so we don't have @brief Get the python library directory in the path, so we don't have

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file template_verifier.py @file template_verifier.py
@brief Message template compatibility verifier. @brief Message template compatibility verifier.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python2
# -*- coding: UTF-8 -*- # -*- coding: UTF-8 -*-
"""\ """\
@file update_source_contributors.py @file update_source_contributors.py