Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-05-16 17:07:20 +0400
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-05-16 17:07:20 +0400
commitd5fde6c48b4b6758d1f31dc2f401fa8c63843735 (patch)
tree28252e08cd9b75d0f8e30566c5f203de798e98bd
parent2fd6e728513f46e1f313667dfcf6b3d6e09cad39 (diff)
Added #!/usr/bin/python standard script identifier to the start of SConscript files.
Makes text editors identify SConscripts as Python, and syntax highlight properly.
-rw-r--r--extern/SConscript1
-rw-r--r--extern/qhull/SConscript1
-rw-r--r--extern/solid/SConscript6
-rw-r--r--intern/SConscript1
-rw-r--r--intern/SoundSystem/SConscript1
-rw-r--r--intern/bmfont/SConscript1
-rw-r--r--intern/bsp/SConscript1
-rw-r--r--intern/container/SConscript1
-rw-r--r--intern/csg/SConscript1
-rw-r--r--intern/decimation/SConscript1
-rw-r--r--intern/ghost/SConscript1
-rw-r--r--intern/guardedalloc/SConscript1
-rw-r--r--intern/iksolver/SConscript1
-rw-r--r--intern/memutil/SConscript1
-rw-r--r--intern/moto/SConscript1
-rw-r--r--intern/string/SConscript1
-rw-r--r--source/SConscript1
-rw-r--r--source/blender/SConscript1
-rw-r--r--source/blender/avi/SConscript1
-rw-r--r--source/blender/blenkernel/SConscript1
-rw-r--r--source/blender/blenlib/SConscript1
-rw-r--r--source/blender/blenloader/SConscript1
-rw-r--r--source/blender/blenpluginapi/SConscript1
-rw-r--r--source/blender/ftfont/SConscript1
-rw-r--r--source/blender/imbuf/SConscript1
-rw-r--r--source/blender/img/SConscript1
-rw-r--r--source/blender/makesdna/SConscript1
-rw-r--r--source/blender/makesdna/intern/SConscript1
-rw-r--r--source/blender/python/SConscript1
-rw-r--r--source/blender/quicktime/SConscript1
-rw-r--r--source/blender/radiosity/SConscript1
-rw-r--r--source/blender/readblenfile/SConscript1
-rw-r--r--source/blender/render/SConscript1
-rw-r--r--source/blender/renderconverter/SConscript1
-rw-r--r--source/blender/src/SConscript1
-rw-r--r--source/blender/yafray/SConscript1
-rw-r--r--source/creator/SConscript1
-rwxr-xr-xsource/gameengine/BlenderRoutines/SConscript1
-rwxr-xr-xsource/gameengine/Converter/SConscript1
-rwxr-xr-xsource/gameengine/Expressions/SConscript1
-rwxr-xr-xsource/gameengine/GameLogic/SConscript1
-rw-r--r--source/gameengine/GamePlayer/SConscript1
-rw-r--r--source/gameengine/GamePlayer/common/SConscript1
-rw-r--r--source/gameengine/GamePlayer/ghost/SConscript1
-rwxr-xr-xsource/gameengine/Ketsji/KXNetwork/SConscript1
-rw-r--r--source/gameengine/Ketsji/SConscript2
-rwxr-xr-xsource/gameengine/Network/LoopBackNetwork/SConscript1
-rwxr-xr-xsource/gameengine/Network/SConscript1
-rwxr-xr-xsource/gameengine/Physics/BlOde/SConscript1
-rwxr-xr-xsource/gameengine/Physics/Dummy/SConscript1
-rwxr-xr-xsource/gameengine/Physics/Sumo/SConscript1
-rwxr-xr-xsource/gameengine/Physics/common/SConscript1
-rwxr-xr-xsource/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript1
-rwxr-xr-xsource/gameengine/Rasterizer/SConscript1
-rw-r--r--source/gameengine/SConscript1
-rw-r--r--source/kernel/SConscript1
56 files changed, 60 insertions, 2 deletions
diff --git a/extern/SConscript b/extern/SConscript
index 180c41b5c40..4d58ee6447d 100644
--- a/extern/SConscript
+++ b/extern/SConscript
@@ -1,2 +1,3 @@
+#!/usr/bin/python
SConscript(['qhull/SConscript',
'solid/SConscript']) \ No newline at end of file
diff --git a/extern/qhull/SConscript b/extern/qhull/SConscript
index d1bd0699e2b..47e1779b1bf 100644
--- a/extern/qhull/SConscript
+++ b/extern/qhull/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import sys
qhull_env = Environment()
diff --git a/extern/solid/SConscript b/extern/solid/SConscript
index e0397f67dc7..aec339a2819 100644
--- a/extern/solid/SConscript
+++ b/extern/solid/SConscript
@@ -1,13 +1,15 @@
+#!/usr/bin/python
import sys
solid_env = Environment()
# Import the C flags set in the SConstruct file
-#Import ('cflags')
+Import ('cflags')
#Import ('cxxflags')
#Import ('defines')
Import ('user_options_dict')
+#defines = ['QHULL', '_LIB']
defines = ['USE_DOUBLES','QHULL', '_LIB']
-cflags = []
+#cflags = []
cxxflags = []
if sys.platform=='win32':
diff --git a/intern/SConscript b/intern/SConscript
index a1926e110f6..833a0316634 100644
--- a/intern/SConscript
+++ b/intern/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
SConscript(['SoundSystem/SConscript',
'string/SConscript',
'ghost/SConscript',
diff --git a/intern/SoundSystem/SConscript b/intern/SoundSystem/SConscript
index 81bbc2146f2..7652ac92db6 100644
--- a/intern/SoundSystem/SConscript
+++ b/intern/SoundSystem/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import sys
Import ('user_options_dict')
diff --git a/intern/bmfont/SConscript b/intern/bmfont/SConscript
index b0f596c57c9..e35b1df3738 100644
--- a/intern/bmfont/SConscript
+++ b/intern/bmfont/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/intern/bsp/SConscript b/intern/bsp/SConscript
index dd21285cd0e..1563a3cd319 100644
--- a/intern/bsp/SConscript
+++ b/intern/bsp/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/intern/container/SConscript b/intern/container/SConscript
index e7b8e09b811..b45a2af07e1 100644
--- a/intern/container/SConscript
+++ b/intern/container/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/intern/csg/SConscript b/intern/csg/SConscript
index d8a56e37c90..e06cd2c73e6 100644
--- a/intern/csg/SConscript
+++ b/intern/csg/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
csg_env = Environment()
# Import the C flags set in the SConstruct file
diff --git a/intern/decimation/SConscript b/intern/decimation/SConscript
index b4b8fa0e840..181efb4eaf9 100644
--- a/intern/decimation/SConscript
+++ b/intern/decimation/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript
index b8d47f49f33..8a82b0dfd87 100644
--- a/intern/ghost/SConscript
+++ b/intern/ghost/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
Import ('window_system')
diff --git a/intern/guardedalloc/SConscript b/intern/guardedalloc/SConscript
index 8fdcafb573d..7d89e02faf4 100644
--- a/intern/guardedalloc/SConscript
+++ b/intern/guardedalloc/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/intern/iksolver/SConscript b/intern/iksolver/SConscript
index 7a8b60b3c0e..aa96002b5f0 100644
--- a/intern/iksolver/SConscript
+++ b/intern/iksolver/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/intern/memutil/SConscript b/intern/memutil/SConscript
index bac0672230c..dd4412e98bc 100644
--- a/intern/memutil/SConscript
+++ b/intern/memutil/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/intern/moto/SConscript b/intern/moto/SConscript
index 502dd096a30..04bd97abc82 100644
--- a/intern/moto/SConscript
+++ b/intern/moto/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/intern/string/SConscript b/intern/string/SConscript
index 8cceecc5f9f..1644a14718f 100644
--- a/intern/string/SConscript
+++ b/intern/string/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/SConscript b/source/SConscript
index 1d614db7514..f5ace6e8be7 100644
--- a/source/SConscript
+++ b/source/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
SConscript(['blender/SConscript',
diff --git a/source/blender/SConscript b/source/blender/SConscript
index 2006888c9f7..c40b8422a33 100644
--- a/source/blender/SConscript
+++ b/source/blender/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
SConscript(['avi/SConscript',
diff --git a/source/blender/avi/SConscript b/source/blender/avi/SConscript
index 0b5fce4f2d0..9311999e123 100644
--- a/source/blender/avi/SConscript
+++ b/source/blender/avi/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('extra_includes')
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/blenkernel/SConscript b/source/blender/blenkernel/SConscript
index 35fb11d79bd..44364a4a4b6 100644
--- a/source/blender/blenkernel/SConscript
+++ b/source/blender/blenkernel/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/blenlib/SConscript b/source/blender/blenlib/SConscript
index f26d7e87031..74d5049edbf 100644
--- a/source/blender/blenlib/SConscript
+++ b/source/blender/blenlib/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('extra_includes')
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/blenloader/SConscript b/source/blender/blenloader/SConscript
index 26796a8eb38..abec60928d4 100644
--- a/source/blender/blenloader/SConscript
+++ b/source/blender/blenloader/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/blenpluginapi/SConscript b/source/blender/blenpluginapi/SConscript
index 2077f7ad2b6..42d4bd5bb5a 100644
--- a/source/blender/blenpluginapi/SConscript
+++ b/source/blender/blenpluginapi/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/ftfont/SConscript b/source/blender/ftfont/SConscript
index 81f5b2b603f..50cd37d6526 100644
--- a/source/blender/ftfont/SConscript
+++ b/source/blender/ftfont/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('extra_includes')
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/imbuf/SConscript b/source/blender/imbuf/SConscript
index 60910aa0ee4..11d7cfb2b30 100644
--- a/source/blender/imbuf/SConscript
+++ b/source/blender/imbuf/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('extra_includes')
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/img/SConscript b/source/blender/img/SConscript
index 2ea4101e66c..ed4564a3348 100644
--- a/source/blender/img/SConscript
+++ b/source/blender/img/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/makesdna/SConscript b/source/blender/makesdna/SConscript
index 793d36ff602..c9b352365ff 100644
--- a/source/blender/makesdna/SConscript
+++ b/source/blender/makesdna/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/makesdna/intern/SConscript b/source/blender/makesdna/intern/SConscript
index 0acc20d9fbe..4046819ffd5 100644
--- a/source/blender/makesdna/intern/SConscript
+++ b/source/blender/makesdna/intern/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import sys
Import ('cflags')
diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript
index 41fb4c082a2..bf30c1426d9 100644
--- a/source/blender/python/SConscript
+++ b/source/blender/python/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('extra_includes')
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/quicktime/SConscript b/source/blender/quicktime/SConscript
index 12eaca18388..3a63abe7779 100644
--- a/source/blender/quicktime/SConscript
+++ b/source/blender/quicktime/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('extra_includes')
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/radiosity/SConscript b/source/blender/radiosity/SConscript
index 477c9521a45..6aef7396fd0 100644
--- a/source/blender/radiosity/SConscript
+++ b/source/blender/radiosity/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/readblenfile/SConscript b/source/blender/readblenfile/SConscript
index 32c474d1eb6..751bc100a97 100644
--- a/source/blender/readblenfile/SConscript
+++ b/source/blender/readblenfile/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/render/SConscript b/source/blender/render/SConscript
index 1d09b1aa5ee..e4c4f7edf13 100644
--- a/source/blender/render/SConscript
+++ b/source/blender/render/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/renderconverter/SConscript b/source/blender/renderconverter/SConscript
index 5ab99c09b11..ac3212eb9ec 100644
--- a/source/blender/renderconverter/SConscript
+++ b/source/blender/renderconverter/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/src/SConscript b/source/blender/src/SConscript
index 06f89015df7..24471f09b47 100644
--- a/source/blender/src/SConscript
+++ b/source/blender/src/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('extra_includes')
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/blender/yafray/SConscript b/source/blender/yafray/SConscript
index ad0f4c62c29..c02a59bb302 100644
--- a/source/blender/yafray/SConscript
+++ b/source/blender/yafray/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/creator/SConscript b/source/creator/SConscript
index 274f3a22618..11e2c835be3 100644
--- a/source/creator/SConscript
+++ b/source/creator/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/BlenderRoutines/SConscript b/source/gameengine/BlenderRoutines/SConscript
index bb0b31ac49c..69813b51cf4 100755
--- a/source/gameengine/BlenderRoutines/SConscript
+++ b/source/gameengine/BlenderRoutines/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import sys
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/Converter/SConscript b/source/gameengine/Converter/SConscript
index 315e1be08b9..780295783d1 100755
--- a/source/gameengine/Converter/SConscript
+++ b/source/gameengine/Converter/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/Expressions/SConscript b/source/gameengine/Expressions/SConscript
index a5d748e456c..93a197e085b 100755
--- a/source/gameengine/Expressions/SConscript
+++ b/source/gameengine/Expressions/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/GameLogic/SConscript b/source/gameengine/GameLogic/SConscript
index 3d086af749d..f50e14e0af9 100755
--- a/source/gameengine/GameLogic/SConscript
+++ b/source/gameengine/GameLogic/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/GamePlayer/SConscript b/source/gameengine/GamePlayer/SConscript
index d7810d8a881..08a9a7ace5f 100644
--- a/source/gameengine/GamePlayer/SConscript
+++ b/source/gameengine/GamePlayer/SConscript
@@ -1,2 +1,3 @@
+#!/usr/bin/python
SConscript(['common/SConscript',
'ghost/SConscript']) \ No newline at end of file
diff --git a/source/gameengine/GamePlayer/common/SConscript b/source/gameengine/GamePlayer/common/SConscript
index 0b93ebd3ac9..09a3e2f9b17 100644
--- a/source/gameengine/GamePlayer/common/SConscript
+++ b/source/gameengine/GamePlayer/common/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import sys
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/GamePlayer/ghost/SConscript b/source/gameengine/GamePlayer/ghost/SConscript
index d9a8b312cab..98bf2e8bae9 100644
--- a/source/gameengine/GamePlayer/ghost/SConscript
+++ b/source/gameengine/GamePlayer/ghost/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import sys
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/Ketsji/KXNetwork/SConscript b/source/gameengine/Ketsji/KXNetwork/SConscript
index 50d99d5099a..820255a5ff4 100755
--- a/source/gameengine/Ketsji/KXNetwork/SConscript
+++ b/source/gameengine/Ketsji/KXNetwork/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/Ketsji/SConscript b/source/gameengine/Ketsji/SConscript
index 3c880246338..05b81baec05 100644
--- a/source/gameengine/Ketsji/SConscript
+++ b/source/gameengine/Ketsji/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import sys
Import ('user_options_dict')
@@ -26,6 +27,7 @@ source_files = ['KX_WorldIpoController.cpp',
'KX_RaySensor.cpp',
'KX_RayEventManager.cpp',
'KX_RadarSensor.cpp',
+ 'KX_PyMath.cpp',
'KX_PythonInit.cpp',
'KX_PyConstraintBinding.cpp',
'KX_PositionInterpolator.cpp',
diff --git a/source/gameengine/Network/LoopBackNetwork/SConscript b/source/gameengine/Network/LoopBackNetwork/SConscript
index 2233a1820b2..333dff4d987 100755
--- a/source/gameengine/Network/LoopBackNetwork/SConscript
+++ b/source/gameengine/Network/LoopBackNetwork/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/Network/SConscript b/source/gameengine/Network/SConscript
index 3b050bf779e..40e3278e9e9 100755
--- a/source/gameengine/Network/SConscript
+++ b/source/gameengine/Network/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/Physics/BlOde/SConscript b/source/gameengine/Physics/BlOde/SConscript
index ff06d91423f..90e949d2d86 100755
--- a/source/gameengine/Physics/BlOde/SConscript
+++ b/source/gameengine/Physics/BlOde/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/Physics/Dummy/SConscript b/source/gameengine/Physics/Dummy/SConscript
index 80a1e78dd1d..b5a642d4f9a 100755
--- a/source/gameengine/Physics/Dummy/SConscript
+++ b/source/gameengine/Physics/Dummy/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/Physics/Sumo/SConscript b/source/gameengine/Physics/Sumo/SConscript
index 126fb43e2da..63261f6f627 100755
--- a/source/gameengine/Physics/Sumo/SConscript
+++ b/source/gameengine/Physics/Sumo/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import sys
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/Physics/common/SConscript b/source/gameengine/Physics/common/SConscript
index 6e4989f9a66..fbde29861e6 100755
--- a/source/gameengine/Physics/common/SConscript
+++ b/source/gameengine/Physics/common/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript
index f45f3c6fc8d..7853cafb6c0 100755
--- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript
+++ b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/Rasterizer/SConscript b/source/gameengine/Rasterizer/SConscript
index 96252581601..358edb6c9de 100755
--- a/source/gameengine/Rasterizer/SConscript
+++ b/source/gameengine/Rasterizer/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import sys
Import ('user_options_dict')
Import ('library_env')
diff --git a/source/gameengine/SConscript b/source/gameengine/SConscript
index 937c2a041cc..1b2c6316c61 100644
--- a/source/gameengine/SConscript
+++ b/source/gameengine/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
SConscript(['BlenderRoutines/SConscript',
diff --git a/source/kernel/SConscript b/source/kernel/SConscript
index d9d8f914cf5..cb1dc0decbe 100644
--- a/source/kernel/SConscript
+++ b/source/kernel/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')