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 | |
| 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)
86 files changed, 164 insertions, 8 deletions
diff --git a/SConstruct b/SConstruct index 0f9a5d9a6..b28cce67e 100644 --- a/SConstruct +++ b/SConstruct @@ -1,3 +1,5 @@ +#!/usr/bin/env python + EnsureSConsVersion(0,14); @@ -1,3 +1,5 @@ +#!/usr/bin/python + Import('env') Export('env') diff --git a/bin/tests/SCsub b/bin/tests/SCsub index 57c9bc63b..26687599e 100644 --- a/bin/tests/SCsub +++ b/bin/tests/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/python + Import('env') env.tests_sources=[] diff --git a/core/SCsub b/core/SCsub index 4ce91c794..cbed2e4f3 100644 --- a/core/SCsub +++ b/core/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.core_sources=[] diff --git a/core/bind/SCsub b/core/bind/SCsub index 7b4a6acbc..c2731d60e 100644 --- a/core/bind/SCsub +++ b/core/bind/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.core_sources,"*.cpp") diff --git a/core/io/SCsub b/core/io/SCsub index 3ff9b355a..48cc9a527 100644 --- a/core/io/SCsub +++ b/core/io/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.core_sources,"*.cpp") diff --git a/core/math/SCsub b/core/math/SCsub index 7b4a6acbc..c2731d60e 100644 --- a/core/math/SCsub +++ b/core/math/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.core_sources,"*.cpp") diff --git a/core/os/SCsub b/core/os/SCsub index 7b4a6acbc..c2731d60e 100644 --- a/core/os/SCsub +++ b/core/os/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.core_sources,"*.cpp") diff --git a/doc/tools/doc_merge.py b/doc/tools/doc_merge.py index b55902ce4..536770bee 100644 --- a/doc/tools/doc_merge.py +++ b/doc/tools/doc_merge.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- import sys diff --git a/doc/tools/doc_status.py b/doc/tools/doc_status.py index 35a6bc8bc..f0ede405c 100755 --- a/doc/tools/doc_status.py +++ b/doc/tools/doc_status.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys import re diff --git a/doc/tools/makedocs.py b/doc/tools/makedocs.py index 063ee2900..731e04f6f 100644 --- a/doc/tools/makedocs.py +++ b/doc/tools/makedocs.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # diff --git a/doc/tools/makedoku.py b/doc/tools/makedoku.py index 97819d7da..7c3ca29af 100644 --- a/doc/tools/makedoku.py +++ b/doc/tools/makedoku.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- import sys diff --git a/doc/tools/makehtml.py b/doc/tools/makehtml.py index 26edda093..b0a8cbda8 100644 --- a/doc/tools/makehtml.py +++ b/doc/tools/makehtml.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- import sys diff --git a/doc/tools/makemd.py b/doc/tools/makemd.py index 38b493b0b..e0fbe9af0 100644 --- a/doc/tools/makemd.py +++ b/doc/tools/makemd.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- import sys diff --git a/doc/tools/makerst.py b/doc/tools/makerst.py index 45e690cb6..718cf4a27 100644 --- a/doc/tools/makerst.py +++ b/doc/tools/makerst.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- import codecs diff --git a/drivers/SCsub b/drivers/SCsub index c496f46a1..255f14390 100644 --- a/drivers/SCsub +++ b/drivers/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.drivers_sources=[] diff --git a/drivers/alsa/SCsub b/drivers/alsa/SCsub index 0582e0197..ee39fd263 100644 --- a/drivers/alsa/SCsub +++ b/drivers/alsa/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.drivers_sources, "*.cpp") diff --git a/drivers/convex_decomp/SCsub b/drivers/convex_decomp/SCsub index 0582e0197..ee39fd263 100644 --- a/drivers/convex_decomp/SCsub +++ b/drivers/convex_decomp/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.drivers_sources, "*.cpp") diff --git a/drivers/gl_context/SCsub b/drivers/gl_context/SCsub index b05a96cb9..cf37e9fe3 100644 --- a/drivers/gl_context/SCsub +++ b/drivers/gl_context/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') if (env["platform"] in ["haiku","osx","windows","x11"]): diff --git a/drivers/gles2/SCsub b/drivers/gles2/SCsub index 89d7d8636..dedd794db 100644 --- a/drivers/gles2/SCsub +++ b/drivers/gles2/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.drivers_sources, "*.cpp") diff --git a/drivers/gles2/shaders/SCsub b/drivers/gles2/shaders/SCsub index 88445f34c..1de560432 100644 --- a/drivers/gles2/shaders/SCsub +++ b/drivers/gles2/shaders/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') if env['BUILDERS'].has_key('GLSL120GLES'): diff --git a/drivers/nrex/SCsub b/drivers/nrex/SCsub index 0582e0197..ee39fd263 100644 --- a/drivers/nrex/SCsub +++ b/drivers/nrex/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.drivers_sources, "*.cpp") diff --git a/drivers/png/SCsub b/drivers/png/SCsub index 1e3f54a9c..04cb70e1c 100644 --- a/drivers/png/SCsub +++ b/drivers/png/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env_png = env.Clone() diff --git a/drivers/pulseaudio/SCsub b/drivers/pulseaudio/SCsub index 0582e0197..ee39fd263 100644 --- a/drivers/pulseaudio/SCsub +++ b/drivers/pulseaudio/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.drivers_sources, "*.cpp") diff --git a/drivers/rtaudio/SCsub b/drivers/rtaudio/SCsub index 836c84c43..f0273dd42 100644 --- a/drivers/rtaudio/SCsub +++ b/drivers/rtaudio/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') # Not cloning the env, the includes need to be accessible for platform/ diff --git a/drivers/unix/SCsub b/drivers/unix/SCsub index 36a172025..fe427e747 100644 --- a/drivers/unix/SCsub +++ b/drivers/unix/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') g_set_p='#ifdef UNIX_ENABLED\n' diff --git a/drivers/windows/SCsub b/drivers/windows/SCsub index 0582e0197..ee39fd263 100644 --- a/drivers/windows/SCsub +++ b/drivers/windows/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.drivers_sources, "*.cpp") diff --git a/drivers/zlib/SCsub b/drivers/zlib/SCsub index d0bbcd452..6a099aff5 100644 --- a/drivers/zlib/SCsub +++ b/drivers/zlib/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') # Not cloning the env, the includes need to be accessible for core/ diff --git a/main/SCsub b/main/SCsub index fa60ffc3e..cd9002de0 100644 --- a/main/SCsub +++ b/main/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.main_sources=[] diff --git a/modules/SCsub b/modules/SCsub index f37c3a55c..408424808 100644 --- a/modules/SCsub +++ b/modules/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env_modules = env.Clone() diff --git a/modules/chibi/SCsub b/modules/chibi/SCsub index e39554977..dffd96675 100644 --- a/modules/chibi/SCsub +++ b/modules/chibi/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/cscript/SCsub b/modules/cscript/SCsub index 9ff13fc43..088240676 100644 --- a/modules/cscript/SCsub +++ b/modules/cscript/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.modules_sources, "*.cpp") diff --git a/modules/dds/SCsub b/modules/dds/SCsub index c54a58e07..3d92ff02d 100644 --- a/modules/dds/SCsub +++ b/modules/dds/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/etc1/SCsub b/modules/etc1/SCsub index ad343ab57..ea035fcde 100644 --- a/modules/etc1/SCsub +++ b/modules/etc1/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/freetype/SCsub b/modules/freetype/SCsub index 10c58558a..1f759dee9 100644 --- a/modules/freetype/SCsub +++ b/modules/freetype/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') # Not building in a separate env as core needs it diff --git a/modules/gdscript/SCsub b/modules/gdscript/SCsub index 9ff13fc43..088240676 100644 --- a/modules/gdscript/SCsub +++ b/modules/gdscript/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.modules_sources, "*.cpp") diff --git a/modules/gridmap/SCsub b/modules/gridmap/SCsub index 9ff13fc43..088240676 100644 --- a/modules/gridmap/SCsub +++ b/modules/gridmap/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.modules_sources, "*.cpp") diff --git a/modules/ik/SCsub b/modules/ik/SCsub index 9ff13fc43..088240676 100644 --- a/modules/ik/SCsub +++ b/modules/ik/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.modules_sources, "*.cpp") diff --git a/modules/jpg/SCsub b/modules/jpg/SCsub index 258fd2f4a..28fb81895 100644 --- a/modules/jpg/SCsub +++ b/modules/jpg/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/mpc/SCsub b/modules/mpc/SCsub index d2662c34a..09f0c05da 100644 --- a/modules/mpc/SCsub +++ b/modules/mpc/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/ogg/SCsub b/modules/ogg/SCsub index fd5ddf55c..2e1fe2e0c 100644 --- a/modules/ogg/SCsub +++ b/modules/ogg/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/openssl/SCsub b/modules/openssl/SCsub index 93b843162..195401724 100644 --- a/modules/openssl/SCsub +++ b/modules/openssl/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/opus/SCsub b/modules/opus/SCsub index 5c587a078..603f5a48c 100644 --- a/modules/opus/SCsub +++ b/modules/opus/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/pbm/SCsub b/modules/pbm/SCsub index e0b19fb2a..fa328be02 100644 --- a/modules/pbm/SCsub +++ b/modules/pbm/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/pvr/SCsub b/modules/pvr/SCsub index cd0a3129d..4ead52f82 100644 --- a/modules/pvr/SCsub +++ b/modules/pvr/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/squish/SCsub b/modules/squish/SCsub index 072921ef6..3fdc58765 100644 --- a/modules/squish/SCsub +++ b/modules/squish/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/theora/SCsub b/modules/theora/SCsub index cf1a8e670..22c618fe8 100644 --- a/modules/theora/SCsub +++ b/modules/theora/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/vorbis/SCsub b/modules/vorbis/SCsub index f3dbc893f..3220cb454 100644 --- a/modules/vorbis/SCsub +++ b/modules/vorbis/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') diff --git a/modules/webp/SCsub b/modules/webp/SCsub index 4997aa335..38585a1ff 100644 --- a/modules/webp/SCsub +++ b/modules/webp/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') Import('env_modules') 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') diff --git a/scene/2d/SCsub b/scene/2d/SCsub index bbe59b305..9fa89edbf 100644 --- a/scene/2d/SCsub +++ b/scene/2d/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.scene_sources,"*.cpp") diff --git a/scene/3d/SCsub b/scene/3d/SCsub index 116e64159..1205deb94 100644 --- a/scene/3d/SCsub +++ b/scene/3d/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') diff --git a/scene/SCsub b/scene/SCsub index 6d1dd0044..79da36519 100644 --- a/scene/SCsub +++ b/scene/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.scene_sources=[] diff --git a/scene/animation/SCsub b/scene/animation/SCsub index bbe59b305..9fa89edbf 100644 --- a/scene/animation/SCsub +++ b/scene/animation/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.scene_sources,"*.cpp") diff --git a/scene/audio/SCsub b/scene/audio/SCsub index bbe59b305..9fa89edbf 100644 --- a/scene/audio/SCsub +++ b/scene/audio/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.scene_sources,"*.cpp") diff --git a/scene/gui/SCsub b/scene/gui/SCsub index bbe59b305..9fa89edbf 100644 --- a/scene/gui/SCsub +++ b/scene/gui/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.scene_sources,"*.cpp") diff --git a/scene/io/SCsub b/scene/io/SCsub index bbe59b305..9fa89edbf 100644 --- a/scene/io/SCsub +++ b/scene/io/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.scene_sources,"*.cpp") diff --git a/scene/main/SCsub b/scene/main/SCsub index bbe59b305..9fa89edbf 100644 --- a/scene/main/SCsub +++ b/scene/main/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.scene_sources,"*.cpp") diff --git a/scene/resources/SCsub b/scene/resources/SCsub index bb9766e1c..702ed1a9b 100644 --- a/scene/resources/SCsub +++ b/scene/resources/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.scene_sources,"*.cpp") diff --git a/scene/resources/default_theme/SCsub b/scene/resources/default_theme/SCsub index bbe59b305..9fa89edbf 100644 --- a/scene/resources/default_theme/SCsub +++ b/scene/resources/default_theme/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.scene_sources,"*.cpp") diff --git a/servers/SCsub b/servers/SCsub index d86184710..57b5b3675 100644 --- a/servers/SCsub +++ b/servers/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.servers_sources=[] diff --git a/servers/audio/SCsub b/servers/audio/SCsub index d31af2c1c..4684bd6cf 100644 --- a/servers/audio/SCsub +++ b/servers/audio/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.servers_sources,"*.cpp") diff --git a/servers/physics/SCsub b/servers/physics/SCsub index 95296eadb..b527f38ce 100644 --- a/servers/physics/SCsub +++ b/servers/physics/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.servers_sources,"*.cpp") diff --git a/servers/physics/joints/SCsub b/servers/physics/joints/SCsub index d31af2c1c..4684bd6cf 100644 --- a/servers/physics/joints/SCsub +++ b/servers/physics/joints/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.servers_sources,"*.cpp") diff --git a/servers/physics_2d/SCsub b/servers/physics_2d/SCsub index ebb7f8be0..2114782fa 100644 --- a/servers/physics_2d/SCsub +++ b/servers/physics_2d/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.servers_sources,"*.cpp") diff --git a/servers/spatial_sound/SCsub b/servers/spatial_sound/SCsub index d31af2c1c..4684bd6cf 100644 --- a/servers/spatial_sound/SCsub +++ b/servers/spatial_sound/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.servers_sources,"*.cpp") diff --git a/servers/spatial_sound_2d/SCsub b/servers/spatial_sound_2d/SCsub index d31af2c1c..4684bd6cf 100644 --- a/servers/spatial_sound_2d/SCsub +++ b/servers/spatial_sound_2d/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.servers_sources,"*.cpp") diff --git a/servers/visual/SCsub b/servers/visual/SCsub index d31af2c1c..4684bd6cf 100644 --- a/servers/visual/SCsub +++ b/servers/visual/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.servers_sources,"*.cpp") 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 bc104294c..12a74fc97 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): |
