Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python script shebang cleanup #37859

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified tools/copy_from.py
100644 → 100755
Empty file.
Empty file modified tools/fix-compilation-database.py
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion tools/gfx_tools/compose.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/python
#!/usr/bin/env python

# compose.py
# Split a gfx directory made of 1000s of little images and files into a set of tilesheets
Expand Down
2 changes: 1 addition & 1 deletion tools/gfx_tools/decompose.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/python
#!/usr/bin/env python

# decompose.py
# Split a gfx tile_config.json into 1000s of little directories, each with their own config
Expand Down
3 changes: 1 addition & 2 deletions tools/gfx_tools/png_update.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/python
#!/usr/bin/env python

# png_update.py
# Rename a png and update all references to it.
Expand Down Expand Up @@ -154,4 +154,3 @@ def convert_tile_entry_file(file_path, old_name, new_name):
os.rename(old_path, new_path)



2 changes: 1 addition & 1 deletion tools/json_tools/keys.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""Run this script with -h for usage info and docs.
"""

Expand Down
2 changes: 1 addition & 1 deletion tools/json_tools/lister.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""Run this script with -h for usage info and docs.
"""

Expand Down
2 changes: 1 addition & 1 deletion tools/json_tools/pluck.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""Run this script with -h for usage info and docs.
"""

Expand Down
2 changes: 1 addition & 1 deletion tools/json_tools/splitter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""Run this script with -h for usage info and docs.
"""

Expand Down
2 changes: 1 addition & 1 deletion tools/json_tools/values.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""Run this script with -h for usage info and docs.
"""

Expand Down
Empty file modified tools/update_blueprint_needs.py
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion utilities/building-utility/deconstruct.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#!/usr/bin/env python
'''Tool to combine ascii map cells with json templates.

Original design and implementation: acidia (https://github.com/acidia)
Expand Down