Browse Source

Use portable #! in python scripts (/usr/bin/env)

0.14
Matthew King 9 years ago
parent
commit
873e81f89b
  1. 2
      contrib/devtools/security-check.py
  2. 2
      contrib/devtools/symbol-check.py
  3. 2
      contrib/devtools/test-security-check.py
  4. 2
      contrib/devtools/update-translations.py
  5. 2
      contrib/linearize/linearize-data.py
  6. 2
      contrib/linearize/linearize-hashes.py
  7. 2
      contrib/seeds/generate-seeds.py
  8. 2
      share/qt/extract_strings_qt.py
  9. 2
      src/test/bitcoin-util-test.py
  10. 2
      src/test/buildenv.py.in

2
contrib/devtools/security-check.py

@ -1,4 +1,4 @@
#!/usr/bin/python2 #!/usr/bin/env python2
''' '''
Perform basic ELF security checks on a series of executables. Perform basic ELF security checks on a series of executables.
Exit status will be 0 if successful, and the program will be silent. Exit status will be 0 if successful, and the program will be silent.

2
contrib/devtools/symbol-check.py

@ -1,4 +1,4 @@
#!/usr/bin/python2 #!/usr/bin/env python2
# Copyright (c) 2014 Wladimir J. van der Laan # Copyright (c) 2014 Wladimir J. van der Laan
# Distributed under the MIT software license, see the accompanying # Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php. # file COPYING or http://www.opensource.org/licenses/mit-license.php.

2
contrib/devtools/test-security-check.py

@ -1,4 +1,4 @@
#!/usr/bin/python2 #!/usr/bin/env python2
''' '''
Test script for security-check.py Test script for security-check.py
''' '''

2
contrib/devtools/update-translations.py

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# Copyright (c) 2014 Wladimir J. van der Laan # Copyright (c) 2014 Wladimir J. van der Laan
# Distributed under the MIT software license, see the accompanying # Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php. # file COPYING or http://www.opensource.org/licenses/mit-license.php.

2
contrib/linearize/linearize-data.py

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# #
# linearize-data.py: Construct a linear, no-fork version of the chain. # linearize-data.py: Construct a linear, no-fork version of the chain.
# #

2
contrib/linearize/linearize-hashes.py

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# #
# linearize-hashes.py: List blocks in a linear, no-fork version of the chain. # linearize-hashes.py: List blocks in a linear, no-fork version of the chain.
# #

2
contrib/seeds/generate-seeds.py

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# Copyright (c) 2014 Wladimir J. van der Laan # Copyright (c) 2014 Wladimir J. van der Laan
# Distributed under the MIT software license, see the accompanying # Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php. # file COPYING or http://www.opensource.org/licenses/mit-license.php.

2
share/qt/extract_strings_qt.py

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
''' '''
Extract _("...") strings for translation and convert to Qt stringdefs so that Extract _("...") strings for translation and convert to Qt stringdefs so that
they can be picked up by Qt linguist. they can be picked up by Qt linguist.

2
src/test/bitcoin-util-test.py

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# Copyright 2014 BitPay, Inc. # Copyright 2014 BitPay, Inc.
# Distributed under the MIT software license, see the accompanying # Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php. # file COPYING or http://www.opensource.org/licenses/mit-license.php.

2
src/test/buildenv.py.in

@ -1,2 +1,2 @@
#!/usr/bin/python #!/usr/bin/env python
exeext="@EXEEXT@" exeext="@EXEEXT@"

Loading…
Cancel
Save