diff options
88 files changed, 168 insertions, 8 deletions
diff --git a/SConstruct b/SConstruct index 10bf3b3625..0c2efa24f5 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 57c9bc63b2..26687599e1 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 4ce91c794f..cbed2e4f35 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 7b4a6acbc0..c2731d60e6 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 3ff9b355a4..48cc9a5275 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 7b4a6acbc0..c2731d60e6 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 7b4a6acbc0..c2731d60e6 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 b55902ce4f..536770bee4 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 35a6bc8bc4..f0ede405ce 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 063ee29002..731e04f6fc 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 97819d7da3..7c3ca29af8 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 26edda0935..b0a8cbda88 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 38b493b0bf..e0fbe9af03 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 45e690cb65..718cf4a275 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 c496f46a1f..255f143902 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 0582e01978..ee39fd2631 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 0582e01978..ee39fd2631 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 b05a96cb99..cf37e9fe36 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 89d7d86360..dedd794dba 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 88445f34c1..1de5604321 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 0582e01978..ee39fd2631 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 1e3f54a9ca..04cb70e1c1 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 0582e01978..ee39fd2631 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 836c84c43c..f0273dd421 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 36a172025d..fe427e747f 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 0582e01978..ee39fd2631 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 d0bbcd452b..6a099aff52 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 fa60ffc3e8..cd9002de0a 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 f37c3a55c7..4084248086 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 e39554977a..dffd966753 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 9ff13fc43f..0882406761 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 c54a58e079..3d92ff02d6 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/enet/SCsub b/modules/enet/SCsub index 66c60baabe..5175803f44 100644 --- a/modules/enet/SCsub +++ b/modules/enet/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 ad343ab579..ea035fcde3 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 10c58558a5..1f759dee9a 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 9ff13fc43f..0882406761 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 9ff13fc43f..0882406761 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 9ff13fc43f..0882406761 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 258fd2f4ad..28fb81895d 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 d2662c34ab..09f0c05daa 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 fd5ddf55c8..2e1fe2e0c0 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 79facba99a..3cc6f21bd2 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 5c587a0783..603f5a48c4 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 e0b19fb2a3..fa328be025 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 cd0a3129da..4ead52f82f 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 072921ef64..3fdc587652 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 cdb78e955e..36dd02e7dd 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/visual_script/SCsub b/modules/visual_script/SCsub index 9ff13fc43f..0882406761 100644 --- a/modules/visual_script/SCsub +++ b/modules/visual_script/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/env python + Import('env') env.add_source_files(env.modules_sources, "*.cpp") diff --git a/modules/vorbis/SCsub b/modules/vorbis/SCsub index f3dbc893fc..3220cb454c 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 4997aa3359..38585a1ff2 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 60bb4bd613..4f9a9709cb 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 81f6e726e4..84fff0828b 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 1952e6b59b..b5a584baa4 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 5b2e1533da..236630bef4 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 fc70d45a04..22af436470 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 4169795519..217dee81eb 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 3dda6b4395..12758c5db0 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 914cee0fa1..e53eb7af34 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 fde0c11f3b..e34d948c37 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 80fd347ded..e20bd44f8d 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 bbe59b3054..9fa89edbf7 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 116e641593..1205deb94a 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 6d1dd0044f..79da365192 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 bbe59b3054..9fa89edbf7 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 bbe59b3054..9fa89edbf7 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 bbe59b3054..9fa89edbf7 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 bbe59b3054..9fa89edbf7 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 bbe59b3054..9fa89edbf7 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 bb9766e1ca..702ed1a9bf 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 bbe59b3054..9fa89edbf7 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 d861847101..57b5b36758 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 d31af2c1c4..4684bd6cf3 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 95296eadbe..b527f38ceb 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 d31af2c1c4..4684bd6cf3 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 ebb7f8be00..2114782faa 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 d31af2c1c4..4684bd6cf3 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 d31af2c1c4..4684bd6cf3 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 d31af2c1c4..4684bd6cf3 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 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): |