diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-10-17 08:50:25 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-10-17 20:10:46 +0200 |
commit | fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163 (patch) | |
tree | 884aef60419ceb724800fe71c23adc4af238bbdd /drivers | |
parent | 89132224a651c0e0d4121270f63decb9a678ff88 (diff) |
SCsub: Add python shebang as a hint for syntax highlighting
Also switch existing shebangs to "better" /usr/bin/env python.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/SCsub | 2 | ||||
-rw-r--r-- | drivers/alsa/SCsub | 2 | ||||
-rw-r--r-- | drivers/convex_decomp/SCsub | 2 | ||||
-rw-r--r-- | drivers/gl_context/SCsub | 2 | ||||
-rw-r--r-- | drivers/gles2/SCsub | 2 | ||||
-rw-r--r-- | drivers/gles2/shaders/SCsub | 2 | ||||
-rw-r--r-- | drivers/nrex/SCsub | 2 | ||||
-rw-r--r-- | drivers/png/SCsub | 2 | ||||
-rw-r--r-- | drivers/pulseaudio/SCsub | 2 | ||||
-rw-r--r-- | drivers/rtaudio/SCsub | 2 | ||||
-rw-r--r-- | drivers/unix/SCsub | 2 | ||||
-rw-r--r-- | drivers/windows/SCsub | 2 | ||||
-rw-r--r-- | drivers/zlib/SCsub | 2 |
13 files changed, 26 insertions, 0 deletions
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/ |