From fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 17 Oct 2016 08:50:25 +0200 Subject: [PATCH] SCsub: Add python shebang as a hint for syntax highlighting Also switch existing shebangs to "better" /usr/bin/env python. --- SConstruct | 2 ++ bin/SCsub | 2 ++ bin/tests/SCsub | 2 ++ core/SCsub | 2 ++ core/bind/SCsub | 2 ++ core/io/SCsub | 2 ++ core/math/SCsub | 2 ++ core/os/SCsub | 2 ++ doc/tools/doc_merge.py | 2 +- doc/tools/doc_status.py | 2 +- doc/tools/makedocs.py | 2 +- doc/tools/makedoku.py | 2 +- doc/tools/makehtml.py | 2 +- doc/tools/makemd.py | 2 +- doc/tools/makerst.py | 2 +- drivers/SCsub | 2 ++ drivers/alsa/SCsub | 2 ++ drivers/convex_decomp/SCsub | 2 ++ drivers/gl_context/SCsub | 2 ++ drivers/gles2/SCsub | 2 ++ drivers/gles2/shaders/SCsub | 2 ++ drivers/nrex/SCsub | 2 ++ drivers/png/SCsub | 2 ++ drivers/pulseaudio/SCsub | 2 ++ drivers/rtaudio/SCsub | 2 ++ drivers/unix/SCsub | 2 ++ drivers/windows/SCsub | 2 ++ drivers/zlib/SCsub | 2 ++ main/SCsub | 2 ++ modules/SCsub | 2 ++ modules/chibi/SCsub | 2 ++ modules/cscript/SCsub | 2 ++ modules/dds/SCsub | 2 ++ modules/enet/SCsub | 2 ++ modules/etc1/SCsub | 2 ++ modules/freetype/SCsub | 2 ++ modules/gdscript/SCsub | 2 ++ modules/gridmap/SCsub | 2 ++ modules/ik/SCsub | 2 ++ modules/jpg/SCsub | 2 ++ modules/mpc/SCsub | 2 ++ modules/ogg/SCsub | 2 ++ modules/openssl/SCsub | 2 ++ modules/opus/SCsub | 2 ++ modules/pbm/SCsub | 2 ++ modules/pvr/SCsub | 2 ++ modules/squish/SCsub | 2 ++ modules/theora/SCsub | 2 ++ modules/visual_script/SCsub | 2 ++ modules/vorbis/SCsub | 2 ++ modules/webp/SCsub | 2 ++ platform/android/SCsub | 2 ++ platform/bb10/SCsub | 2 ++ platform/haiku/SCsub | 2 ++ platform/iphone/SCsub | 2 ++ platform/javascript/SCsub | 2 ++ platform/osx/SCsub | 2 ++ platform/server/SCsub | 2 ++ platform/windows/SCsub | 2 ++ platform/winrt/SCsub | 2 ++ platform/x11/SCsub | 2 ++ scene/2d/SCsub | 2 ++ scene/3d/SCsub | 2 ++ scene/SCsub | 2 ++ scene/animation/SCsub | 2 ++ scene/audio/SCsub | 2 ++ scene/gui/SCsub | 2 ++ scene/io/SCsub | 2 ++ scene/main/SCsub | 2 ++ scene/resources/SCsub | 2 ++ scene/resources/default_theme/SCsub | 2 ++ servers/SCsub | 2 ++ servers/audio/SCsub | 2 ++ servers/physics/SCsub | 2 ++ servers/physics/joints/SCsub | 2 ++ servers/physics_2d/SCsub | 2 ++ servers/spatial_sound/SCsub | 2 ++ servers/spatial_sound_2d/SCsub | 2 ++ servers/visual/SCsub | 2 ++ 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 +- 88 files changed, 168 insertions(+), 8 deletions(-) diff --git a/SConstruct b/SConstruct index 10bf3b36257..0c2efa24f5d 100644 --- a/SConstruct +++ b/SConstruct @@ -1,3 +1,5 @@ +#!/usr/bin/env python + EnsureSConsVersion(0,14); diff --git a/bin/SCsub b/bin/SCsub index db057ed1035..6b29a44fd91 100644 --- a/bin/SCsub +++ b/bin/SCsub @@ -1,3 +1,5 @@ +#!/usr/bin/python + Import('env') Export('env') diff --git a/bin/tests/SCsub b/bin/tests/SCsub index 57c9bc63b27..26687599e1f 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 4ce91c794f0..cbed2e4f35c 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 7b4a6acbc07..c2731d60e6b 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 3ff9b355a45..48cc9a5275a 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 7b4a6acbc07..c2731d60e6b 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 7b4a6acbc07..c2731d60e6b 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 b55902ce4fc..536770bee44 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 35a6bc8bc44..f0ede405ce0 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 063ee29002e..731e04f6fce 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 97819d7da3f..7c3ca29af89 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 26edda0935b..b0a8cbda88c 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 38b493b0bff..e0fbe9af03b 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 45e690cb65c..718cf4a275d 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 c496f46a1f2..255f143902d 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 0582e01978f..ee39fd26317 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 0582e01978f..ee39fd26317 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 b05a96cb99c..cf37e9fe36d 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 89d7d86360e..dedd794dbac 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 88445f34c1a..1de56043210 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 0582e01978f..ee39fd26317 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 1e3f54a9ca4..04cb70e1c18 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 0582e01978f..ee39fd26317 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 836c84c43c2..f0273dd421f 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 36a172025d3..fe427e747fa 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 0582e01978f..ee39fd26317 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 d0bbcd452ba..6a099aff525 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 fa60ffc3e8f..cd9002de0a2 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 f37c3a55c70..40842480868 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 e39554977ab..dffd966753a 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 9ff13fc43f6..08824067616 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 c54a58e0793..3d92ff02d6d 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 66c60baabea..5175803f44c 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 ad343ab5795..ea035fcde33 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 10c58558a57..1f759dee9ac 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 9ff13fc43f6..08824067616 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 9ff13fc43f6..08824067616 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 9ff13fc43f6..08824067616 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 258fd2f4ad2..28fb81895de 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 d2662c34ab8..09f0c05daa9 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 fd5ddf55c8b..2e1fe2e0c0d 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 79facba99a5..3cc6f21bd27 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 5c587a0783b..603f5a48c42 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 e0b19fb2a36..fa328be0253 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 cd0a3129dad..4ead52f82ff 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 072921ef641..3fdc587652e 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 cdb78e955e0..36dd02e7dd8 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 9ff13fc43f6..08824067616 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 f3dbc893fc1..3220cb454c8 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 4997aa33598..38585a1ff2c 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 60bb4bd6136..4f9a9709cb8 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 81f6e726e47..84fff0828b6 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 1952e6b59ba..b5a584baa47 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 5b2e1533da5..236630bef41 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 fc70d45a044..22af436470f 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 4169795519f..217dee81eb1 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 3dda6b43951..12758c5db07 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 914cee0fa10..e53eb7af345 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 fde0c11f3be..e34d948c378 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 80fd347ded8..e20bd44f8d4 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 bbe59b30540..9fa89edbf75 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 116e6415934..1205deb94aa 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 6d1dd0044fc..79da3651927 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 bbe59b30540..9fa89edbf75 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 bbe59b30540..9fa89edbf75 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 bbe59b30540..9fa89edbf75 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 bbe59b30540..9fa89edbf75 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 bbe59b30540..9fa89edbf75 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 bb9766e1caf..702ed1a9bf0 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 bbe59b30540..9fa89edbf75 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 d8618471018..57b5b367589 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 d31af2c1c49..4684bd6cf38 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 95296eadbee..b527f38ceb0 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 d31af2c1c49..4684bd6cf38 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 ebb7f8be00d..2114782faaf 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 d31af2c1c49..4684bd6cf38 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 d31af2c1c49..4684bd6cf38 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 d31af2c1c49..4684bd6cf38 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 67b1f20e72b..b0b33d4f012 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 34524f10efb..473474201af 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 34524f10efb..473474201af 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 34651b36f2a..f6cb16dc24f 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 363a2ce4c0a..6299fd416c3 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 44e28f49e60..9e05d8f391f 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 363a2ce4c0a..6299fd416c3 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 363a2ce4c0a..6299fd416c3 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 f3f8d398377..b4c582f1eb4 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):