Browse Source

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

pull/4/head
Matthew King 8 years ago
committed by Jack Grigg
parent
commit
d28d3d20de
No known key found for this signature in database GPG Key ID: 1B8D649257DB0829
  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/linearize/linearize-data.py
  5. 2
      contrib/linearize/linearize-hashes.py
  6. 4
      contrib/seeds/generate-seeds.py
  7. 2
      src/test/bitcoin-util-test.py
  8. 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.
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
# Distributed under the MIT software license, see the accompanying
# 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
'''

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.
#

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.
#

4
contrib/seeds/generate-seeds.py

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

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

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Copyright 2014 BitPay, Inc.
# Distributed under the MIT software license, see the accompanying
# 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@"

Loading…
Cancel
Save