summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-10-17 08:50:25 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-10-17 20:10:46 +0200
commitfc8ccd5b8c8b779bffd0f4d7f22f2f964c939163 (patch)
tree884aef60419ceb724800fe71c23adc4af238bbdd /tools
parent89132224a651c0e0d4121270f63decb9a678ff88 (diff)
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 67b1f20e72..b0b33d4f01 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 34524f10ef..473474201a 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 34524f10ef..473474201a 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 34651b36f2..f6cb16dc24 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 363a2ce4c0..6299fd416c 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 44e28f49e6..9e05d8f391 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 363a2ce4c0..6299fd416c 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 363a2ce4c0..6299fd416c 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 f3f8d39837..b4c582f1eb 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):