Correctly use Python2
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
"""\
|
"""\
|
||||||
@file start-client.py
|
@file start-client.py
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
"""\
|
"""\
|
||||||
@file testrunner.py
|
@file testrunner.py
|
||||||
@author Nat Goodspeed
|
@author Nat Goodspeed
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 .`
|
||||||
|
|||||||
@@ -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://...
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
SAVEDIR=`pwd`
|
SAVEDIR=`pwd`
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
SAVEDIR=`pwd`
|
SAVEDIR=`pwd`
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#(C) 2011 SIANA GEARZ
|
#(C) 2011 SIANA GEARZ
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user