Browse Source

Merge pull request #6850 from akien-mga/pr-scsub-shebang

SCsub: Add python shebang as a hint for syntax highlighting
Rémi Verschelde 8 years ago
parent
commit
e96c49f849
88 changed files with 168 additions and 8 deletions
  1. 2 0
      SConstruct
  2. 2 0
      bin/SCsub
  3. 2 0
      bin/tests/SCsub
  4. 2 0
      core/SCsub
  5. 2 0
      core/bind/SCsub
  6. 2 0
      core/io/SCsub
  7. 2 0
      core/math/SCsub
  8. 2 0
      core/os/SCsub
  9. 1 1
      doc/tools/doc_merge.py
  10. 1 1
      doc/tools/doc_status.py
  11. 1 1
      doc/tools/makedocs.py
  12. 1 1
      doc/tools/makedoku.py
  13. 1 1
      doc/tools/makehtml.py
  14. 1 1
      doc/tools/makemd.py
  15. 1 1
      doc/tools/makerst.py
  16. 2 0
      drivers/SCsub
  17. 2 0
      drivers/alsa/SCsub
  18. 2 0
      drivers/convex_decomp/SCsub
  19. 2 0
      drivers/gl_context/SCsub
  20. 2 0
      drivers/gles2/SCsub
  21. 2 0
      drivers/gles2/shaders/SCsub
  22. 2 0
      drivers/nrex/SCsub
  23. 2 0
      drivers/png/SCsub
  24. 2 0
      drivers/pulseaudio/SCsub
  25. 2 0
      drivers/rtaudio/SCsub
  26. 2 0
      drivers/unix/SCsub
  27. 2 0
      drivers/windows/SCsub
  28. 2 0
      drivers/zlib/SCsub
  29. 2 0
      main/SCsub
  30. 2 0
      modules/SCsub
  31. 2 0
      modules/chibi/SCsub
  32. 2 0
      modules/cscript/SCsub
  33. 2 0
      modules/dds/SCsub
  34. 2 0
      modules/enet/SCsub
  35. 2 0
      modules/etc1/SCsub
  36. 2 0
      modules/freetype/SCsub
  37. 2 0
      modules/gdscript/SCsub
  38. 2 0
      modules/gridmap/SCsub
  39. 2 0
      modules/ik/SCsub
  40. 2 0
      modules/jpg/SCsub
  41. 2 0
      modules/mpc/SCsub
  42. 2 0
      modules/ogg/SCsub
  43. 2 0
      modules/openssl/SCsub
  44. 2 0
      modules/opus/SCsub
  45. 2 0
      modules/pbm/SCsub
  46. 2 0
      modules/pvr/SCsub
  47. 2 0
      modules/squish/SCsub
  48. 2 0
      modules/theora/SCsub
  49. 2 0
      modules/visual_script/SCsub
  50. 2 0
      modules/vorbis/SCsub
  51. 2 0
      modules/webp/SCsub
  52. 2 0
      platform/android/SCsub
  53. 2 0
      platform/bb10/SCsub
  54. 2 0
      platform/haiku/SCsub
  55. 2 0
      platform/iphone/SCsub
  56. 2 0
      platform/javascript/SCsub
  57. 2 0
      platform/osx/SCsub
  58. 2 0
      platform/server/SCsub
  59. 2 0
      platform/windows/SCsub
  60. 2 0
      platform/winrt/SCsub
  61. 2 0
      platform/x11/SCsub
  62. 2 0
      scene/2d/SCsub
  63. 2 0
      scene/3d/SCsub
  64. 2 0
      scene/SCsub
  65. 2 0
      scene/animation/SCsub
  66. 2 0
      scene/audio/SCsub
  67. 2 0
      scene/gui/SCsub
  68. 2 0
      scene/io/SCsub
  69. 2 0
      scene/main/SCsub
  70. 2 0
      scene/resources/SCsub
  71. 2 0
      scene/resources/default_theme/SCsub
  72. 2 0
      servers/SCsub
  73. 2 0
      servers/audio/SCsub
  74. 2 0
      servers/physics/SCsub
  75. 2 0
      servers/physics/joints/SCsub
  76. 2 0
      servers/physics_2d/SCsub
  77. 2 0
      servers/spatial_sound/SCsub
  78. 2 0
      servers/spatial_sound_2d/SCsub
  79. 2 0
      servers/visual/SCsub
  80. 2 0
      tools/SCsub
  81. 2 0
      tools/collada/SCsub
  82. 2 0
      tools/doc/SCsub
  83. 2 0
      tools/editor/SCsub
  84. 2 0
      tools/editor/fileserver/SCsub
  85. 2 0
      tools/editor/icons/SCsub
  86. 2 0
      tools/editor/io_plugins/SCsub
  87. 2 0
      tools/editor/plugins/SCsub
  88. 1 1
      tools/scripts/make_glwrapper.py

+ 2 - 0
SConstruct

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 EnsureSConsVersion(0,14);
 EnsureSConsVersion(0,14);
 
 
 
 

+ 2 - 0
bin/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/python
+
 Import('env')
 Import('env')
 Export('env')
 Export('env')
 
 

+ 2 - 0
bin/tests/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/python
+
 Import('env')
 Import('env')
 
 
 env.tests_sources=[]
 env.tests_sources=[]

+ 2 - 0
core/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.core_sources=[]
 env.core_sources=[]

+ 2 - 0
core/bind/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.core_sources,"*.cpp")
 env.add_source_files(env.core_sources,"*.cpp")

+ 2 - 0
core/io/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.core_sources,"*.cpp")
 env.add_source_files(env.core_sources,"*.cpp")

+ 2 - 0
core/math/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.core_sources,"*.cpp")
 env.add_source_files(env.core_sources,"*.cpp")

+ 2 - 0
core/os/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.core_sources,"*.cpp")
 env.add_source_files(env.core_sources,"*.cpp")

+ 1 - 1
doc/tools/doc_merge.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 # -*- coding: utf-8 -*-
 
 
 import sys
 import sys

+ 1 - 1
doc/tools/doc_status.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 
 import sys
 import sys
 import re
 import re

+ 1 - 1
doc/tools/makedocs.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # -*- coding: utf-8 -*-
 
 
 #
 #

+ 1 - 1
doc/tools/makedoku.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 # -*- coding: utf-8 -*-
 
 
 import sys
 import sys

+ 1 - 1
doc/tools/makehtml.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 # -*- coding: utf-8 -*-
 
 
 import sys
 import sys

+ 1 - 1
doc/tools/makemd.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 # -*- coding: utf-8 -*-
 
 
 import sys
 import sys

+ 1 - 1
doc/tools/makerst.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 # -*- coding: utf-8 -*-
 
 
 import codecs
 import codecs

+ 2 - 0
drivers/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.drivers_sources=[]
 env.drivers_sources=[]

+ 2 - 0
drivers/alsa/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.drivers_sources, "*.cpp")
 env.add_source_files(env.drivers_sources, "*.cpp")

+ 2 - 0
drivers/convex_decomp/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.drivers_sources, "*.cpp")
 env.add_source_files(env.drivers_sources, "*.cpp")

+ 2 - 0
drivers/gl_context/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 if (env["platform"] in ["haiku","osx","windows","x11"]):
 if (env["platform"] in ["haiku","osx","windows","x11"]):

+ 2 - 0
drivers/gles2/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.drivers_sources, "*.cpp")
 env.add_source_files(env.drivers_sources, "*.cpp")

+ 2 - 0
drivers/gles2/shaders/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 if env['BUILDERS'].has_key('GLSL120GLES'):
 if env['BUILDERS'].has_key('GLSL120GLES'):

+ 2 - 0
drivers/nrex/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.drivers_sources, "*.cpp")
 env.add_source_files(env.drivers_sources, "*.cpp")

+ 2 - 0
drivers/png/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env_png = env.Clone()
 env_png = env.Clone()

+ 2 - 0
drivers/pulseaudio/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.drivers_sources, "*.cpp")
 env.add_source_files(env.drivers_sources, "*.cpp")

+ 2 - 0
drivers/rtaudio/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 # Not cloning the env, the includes need to be accessible for platform/
 # Not cloning the env, the includes need to be accessible for platform/

+ 2 - 0
drivers/unix/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 g_set_p='#ifdef UNIX_ENABLED\n'
 g_set_p='#ifdef UNIX_ENABLED\n'

+ 2 - 0
drivers/windows/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.drivers_sources, "*.cpp")
 env.add_source_files(env.drivers_sources, "*.cpp")

+ 2 - 0
drivers/zlib/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 # Not cloning the env, the includes need to be accessible for core/
 # Not cloning the env, the includes need to be accessible for core/

+ 2 - 0
main/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.main_sources=[]
 env.main_sources=[]

+ 2 - 0
modules/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env_modules = env.Clone()
 env_modules = env.Clone()

+ 2 - 0
modules/chibi/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/cscript/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.modules_sources, "*.cpp")
 env.add_source_files(env.modules_sources, "*.cpp")

+ 2 - 0
modules/dds/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/enet/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/etc1/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/freetype/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 # Not building in a separate env as core needs it
 # Not building in a separate env as core needs it

+ 2 - 0
modules/gdscript/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.modules_sources, "*.cpp")
 env.add_source_files(env.modules_sources, "*.cpp")

+ 2 - 0
modules/gridmap/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.modules_sources, "*.cpp")
 env.add_source_files(env.modules_sources, "*.cpp")

+ 2 - 0
modules/ik/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.modules_sources, "*.cpp")
 env.add_source_files(env.modules_sources, "*.cpp")

+ 2 - 0
modules/jpg/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/mpc/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/ogg/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/openssl/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/opus/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/pbm/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/pvr/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/squish/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/theora/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/visual_script/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.modules_sources, "*.cpp")
 env.add_source_files(env.modules_sources, "*.cpp")

+ 2 - 0
modules/vorbis/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
modules/webp/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Import('env_modules')
 Import('env_modules')
 
 

+ 2 - 0
platform/android/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 import shutil
 import shutil
 
 
 Import('env')
 Import('env')

+ 2 - 0
platform/bb10/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 bb10_lib = [
 bb10_lib = [

+ 2 - 0
platform/haiku/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 common_haiku = [
 common_haiku = [

+ 2 - 0
platform/iphone/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 iphone_lib = [
 iphone_lib = [

+ 2 - 0
platform/javascript/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 javascript_files = [
 javascript_files = [

+ 2 - 0
platform/osx/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 files = [
 files = [

+ 2 - 0
platform/server/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 
 

+ 2 - 0
platform/windows/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 
 

+ 2 - 0
platform/winrt/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 files = [
 files = [

+ 2 - 0
platform/x11/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 
 

+ 2 - 0
scene/2d/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.scene_sources,"*.cpp")
 env.add_source_files(env.scene_sources,"*.cpp")

+ 2 - 0
scene/3d/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 
 

+ 2 - 0
scene/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.scene_sources=[]
 env.scene_sources=[]

+ 2 - 0
scene/animation/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.scene_sources,"*.cpp")
 env.add_source_files(env.scene_sources,"*.cpp")

+ 2 - 0
scene/audio/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.scene_sources,"*.cpp")
 env.add_source_files(env.scene_sources,"*.cpp")

+ 2 - 0
scene/gui/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.scene_sources,"*.cpp")
 env.add_source_files(env.scene_sources,"*.cpp")

+ 2 - 0
scene/io/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.scene_sources,"*.cpp")
 env.add_source_files(env.scene_sources,"*.cpp")

+ 2 - 0
scene/main/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.scene_sources,"*.cpp")
 env.add_source_files(env.scene_sources,"*.cpp")

+ 2 - 0
scene/resources/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.scene_sources,"*.cpp")
 env.add_source_files(env.scene_sources,"*.cpp")

+ 2 - 0
scene/resources/default_theme/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.scene_sources,"*.cpp")
 env.add_source_files(env.scene_sources,"*.cpp")

+ 2 - 0
servers/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.servers_sources=[]
 env.servers_sources=[]

+ 2 - 0
servers/audio/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.servers_sources,"*.cpp")
 env.add_source_files(env.servers_sources,"*.cpp")

+ 2 - 0
servers/physics/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.servers_sources,"*.cpp")
 env.add_source_files(env.servers_sources,"*.cpp")

+ 2 - 0
servers/physics/joints/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.servers_sources,"*.cpp")
 env.add_source_files(env.servers_sources,"*.cpp")

+ 2 - 0
servers/physics_2d/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.servers_sources,"*.cpp")
 env.add_source_files(env.servers_sources,"*.cpp")

+ 2 - 0
servers/spatial_sound/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.servers_sources,"*.cpp")
 env.add_source_files(env.servers_sources,"*.cpp")

+ 2 - 0
servers/spatial_sound_2d/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.servers_sources,"*.cpp")
 env.add_source_files(env.servers_sources,"*.cpp")

+ 2 - 0
servers/visual/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.servers_sources,"*.cpp")
 env.add_source_files(env.servers_sources,"*.cpp")

+ 2 - 0
tools/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.tool_sources=[]
 env.tool_sources=[]

+ 2 - 0
tools/collada/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.tool_sources,"*.cpp")
 env.add_source_files(env.tool_sources,"*.cpp")

+ 2 - 0
tools/doc/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 env.add_source_files(env.tool_sources,"*.cpp")
 env.add_source_files(env.tool_sources,"*.cpp")

+ 2 - 0
tools/editor/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 
 

+ 2 - 0
tools/editor/fileserver/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Export('env')
 Export('env')
 env.add_source_files(env.tool_sources,"*.cpp")
 env.add_source_files(env.tool_sources,"*.cpp")

+ 2 - 0
tools/editor/icons/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 
 
 def make_editor_icons_action(target, source, env):
 def make_editor_icons_action(target, source, env):

+ 2 - 0
tools/editor/io_plugins/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Export('env')
 Export('env')
 env.add_source_files(env.tool_sources,"*.cpp")
 env.add_source_files(env.tool_sources,"*.cpp")

+ 2 - 0
tools/editor/plugins/SCsub

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 Import('env')
 Import('env')
 Export('env')
 Export('env')
 env.add_source_files(env.tool_sources,"*.cpp")
 env.add_source_files(env.tool_sources,"*.cpp")

+ 1 - 1
tools/scripts/make_glwrapper.py

@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
 import sys
 import sys
 
 
 if (len(sys.argv)<2):
 if (len(sys.argv)<2):