diff options
| author | Rémi Verschelde | 2016-10-17 08:50:25 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-10-30 14:51:34 +0100 |
| commit | 5a49e45d213d57f82892c04b94497b37e9fa6229 (patch) | |
| tree | 75ef652853cc5c926288721326d904b8a34355f4 /platform | |
| parent | 7143401e25763720b74bbcaf24b7dc46b3b22292 (diff) | |
| download | godot-5a49e45d213d57f82892c04b94497b37e9fa6229.tar.gz godot-5a49e45d213d57f82892c04b94497b37e9fa6229.tar.zst godot-5a49e45d213d57f82892c04b94497b37e9fa6229.zip | |
SCsub: Add python shebang as a hint for syntax highlighting
Also switch existing shebangs to "better" /usr/bin/env python.
(cherry picked from commit fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163)
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/android/SCsub | 2 | ||||
| -rw-r--r-- | platform/bb10/SCsub | 2 | ||||
| -rw-r--r-- | platform/haiku/SCsub | 2 | ||||
| -rw-r--r-- | platform/iphone/SCsub | 2 | ||||
| -rw-r--r-- | platform/javascript/SCsub | 2 | ||||
| -rw-r--r-- | platform/osx/SCsub | 2 | ||||
| -rw-r--r-- | platform/server/SCsub | 2 | ||||
| -rw-r--r-- | platform/windows/SCsub | 2 | ||||
| -rw-r--r-- | platform/winrt/SCsub | 2 | ||||
| -rw-r--r-- | platform/x11/SCsub | 2 |
10 files changed, 20 insertions, 0 deletions
diff --git a/platform/android/SCsub b/platform/android/SCsub index 60bb4bd61..4f9a9709c 100644 --- a/platform/android/SCsub +++ b/platform/android/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import shutil Import('env') diff --git a/platform/bb10/SCsub b/platform/bb10/SCsub index 81f6e726e..84fff0828 100644 --- a/platform/bb10/SCsub +++ b/platform/bb10/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') bb10_lib = [ diff --git a/platform/haiku/SCsub b/platform/haiku/SCsub index 1952e6b59..b5a584baa 100644 --- a/platform/haiku/SCsub +++ b/platform/haiku/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') common_haiku = [ diff --git a/platform/iphone/SCsub b/platform/iphone/SCsub index 5b2e1533d..236630bef 100644 --- a/platform/iphone/SCsub +++ b/platform/iphone/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') iphone_lib = [ diff --git a/platform/javascript/SCsub b/platform/javascript/SCsub index cd96cf4f3..a47f39f06 100644 --- a/platform/javascript/SCsub +++ b/platform/javascript/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') javascript_files = [ diff --git a/platform/osx/SCsub b/platform/osx/SCsub index 416979551..217dee81e 100644 --- a/platform/osx/SCsub +++ b/platform/osx/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') files = [ diff --git a/platform/server/SCsub b/platform/server/SCsub index 3dda6b439..12758c5db 100644 --- a/platform/server/SCsub +++ b/platform/server/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') diff --git a/platform/windows/SCsub b/platform/windows/SCsub index 914cee0fa..e53eb7af3 100644 --- a/platform/windows/SCsub +++ b/platform/windows/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') diff --git a/platform/winrt/SCsub b/platform/winrt/SCsub index 2ea8cbd0d..38bf2470a 100644 --- a/platform/winrt/SCsub +++ b/platform/winrt/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') files = [ diff --git a/platform/x11/SCsub b/platform/x11/SCsub index 80fd347de..e20bd44f8 100644 --- a/platform/x11/SCsub +++ b/platform/x11/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') |
