SCsub: Add python shebang as a hint for syntax highlighting
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
EnsureSConsVersion(0,14);
+#!/usr/bin/python
Import('env')
Export('env')
env.tests_sources=[]
env.core_sources=[]
env.add_source_files(env.core_sources,"*.cpp")
@@ -1,4 +1,4 @@
-#!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
-#!/usr/bin/python3
+#!/usr/bin/env python3
import re
#
import codecs
env.drivers_sources=[]
env.add_source_files(env.drivers_sources, "*.cpp")
if (env["platform"] in ["haiku","osx","windows","x11"]):
if env['BUILDERS'].has_key('GLSL120GLES'):
env_png = env.Clone()
# Not cloning the env, the includes need to be accessible for platform/
g_set_p='#ifdef UNIX_ENABLED\n'
# Not cloning the env, the includes need to be accessible for core/
env.main_sources=[]
env_modules = env.Clone()
Import('env_modules')
env.add_source_files(env.modules_sources, "*.cpp")
# Not building in a separate env as core needs it
import shutil
bb10_lib = [
common_haiku = [
iphone_lib = [
javascript_files = [
files = [
env.add_source_files(env.scene_sources,"*.cpp")
env.scene_sources=[]
env.servers_sources=[]
env.add_source_files(env.servers_sources,"*.cpp")
env.tool_sources=[]
env.add_source_files(env.tool_sources,"*.cpp")
def make_editor_icons_action(target, source, env):
-#! /usr/bin/python
+#! /usr/bin/env python
if (len(sys.argv)<2):