aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRémi Verschelde2016-10-17 08:50:25 +0200
committerRémi Verschelde2016-10-17 20:10:46 +0200
commitfc8ccd5b8c8b779bffd0f4d7f22f2f964c939163 (patch)
tree884aef60419ceb724800fe71c23adc4af238bbdd /tools
parent89132224a651c0e0d4121270f63decb9a678ff88 (diff)
downloadgodot-fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163.tar.gz
godot-fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163.tar.zst
godot-fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163.zip
SCsub: Add python shebang as a hint for syntax highlighting
Also switch existing shebangs to "better" /usr/bin/env python.
Diffstat (limited to 'tools')
-rw-r--r--tools/SCsub2
-rw-r--r--tools/collada/SCsub2
-rw-r--r--tools/doc/SCsub2
-rw-r--r--tools/editor/SCsub2
-rw-r--r--tools/editor/fileserver/SCsub2
-rw-r--r--tools/editor/icons/SCsub2
-rw-r--r--tools/editor/io_plugins/SCsub2
-rw-r--r--tools/editor/plugins/SCsub2
-rw-r--r--tools/scripts/make_glwrapper.py2
9 files changed, 17 insertions, 1 deletions
diff --git a/tools/SCsub b/tools/SCsub
index 67b1f20e7..b0b33d4f0 100644
--- a/tools/SCsub
+++ b/tools/SCsub
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
Import('env')
env.tool_sources=[]
diff --git a/tools/collada/SCsub b/tools/collada/SCsub
index 34524f10e..473474201 100644
--- a/tools/collada/SCsub
+++ b/tools/collada/SCsub
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
Import('env')
env.add_source_files(env.tool_sources,"*.cpp")
diff --git a/tools/doc/SCsub b/tools/doc/SCsub
index 34524f10e..473474201 100644
--- a/tools/doc/SCsub
+++ b/tools/doc/SCsub
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
Import('env')
env.add_source_files(env.tool_sources,"*.cpp")
diff --git a/tools/editor/SCsub b/tools/editor/SCsub
index 34651b36f..f6cb16dc2 100644
--- a/tools/editor/SCsub
+++ b/tools/editor/SCsub
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
Import('env')
diff --git a/tools/editor/fileserver/SCsub b/tools/editor/fileserver/SCsub
index 363a2ce4c..6299fd416 100644
--- a/tools/editor/fileserver/SCsub
+++ b/tools/editor/fileserver/SCsub
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
Import('env')
Export('env')
env.add_source_files(env.tool_sources,"*.cpp")
diff --git a/tools/editor/icons/SCsub b/tools/editor/icons/SCsub
index 44e28f49e..9e05d8f39 100644
--- a/tools/editor/icons/SCsub
+++ b/tools/editor/icons/SCsub
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
Import('env')
def make_editor_icons_action(target, source, env):
diff --git a/tools/editor/io_plugins/SCsub b/tools/editor/io_plugins/SCsub
index 363a2ce4c..6299fd416 100644
--- a/tools/editor/io_plugins/SCsub
+++ b/tools/editor/io_plugins/SCsub
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
Import('env')
Export('env')
env.add_source_files(env.tool_sources,"*.cpp")
diff --git a/tools/editor/plugins/SCsub b/tools/editor/plugins/SCsub
index 363a2ce4c..6299fd416 100644
--- a/tools/editor/plugins/SCsub
+++ b/tools/editor/plugins/SCsub
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
Import('env')
Export('env')
env.add_source_files(env.tool_sources,"*.cpp")
diff --git a/tools/scripts/make_glwrapper.py b/tools/scripts/make_glwrapper.py
index f3f8d3983..b4c582f1e 100644
--- a/tools/scripts/make_glwrapper.py
+++ b/tools/scripts/make_glwrapper.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
import sys
if (len(sys.argv)<2):