From fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163 Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Mon, 17 Oct 2016 08:50:25 +0200 Subject: SCsub: Add python shebang as a hint for syntax highlighting Also switch existing shebangs to "better" /usr/bin/env python. --- tools/SCsub | 2 ++ tools/collada/SCsub | 2 ++ tools/doc/SCsub | 2 ++ tools/editor/SCsub | 2 ++ tools/editor/fileserver/SCsub | 2 ++ tools/editor/icons/SCsub | 2 ++ tools/editor/io_plugins/SCsub | 2 ++ tools/editor/plugins/SCsub | 2 ++ tools/scripts/make_glwrapper.py | 2 +- 9 files changed, 17 insertions(+), 1 deletion(-) (limited to 'tools') 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): -- cgit v1.2.3-70-g09d2