From 4fb3a23adb6fd4100352feb92cd7e90ac407dc4a Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Tue, 25 Jan 2022 00:41:24 +0100 Subject: [PATCH] wscript: use consistent python shebang path Most wscripts use #!/usr/bin/env python Use that consistently. The wscripts are not executed directly and do not need the shebang path, but it might guide editors and other tools to recognize the files as being Python-ish. --- share/export/wscript | 2 +- share/mcp/wscript | 2 +- share/media/wscript | 2 +- share/midi_maps/wscript | 2 +- share/osc/wscript | 2 +- share/patchfiles/wscript | 2 +- share/plugin_metadata/wscript | 2 +- share/scripts/wscript | 2 +- tools/bb/wscript | 1 + 9 files changed, 9 insertions(+), 8 deletions(-) diff --git a/share/export/wscript b/share/export/wscript index 23a070f61d..c7dab5a23d 100644 --- a/share/export/wscript +++ b/share/export/wscript @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os diff --git a/share/mcp/wscript b/share/mcp/wscript index e3cc341419..eed71a1b10 100644 --- a/share/mcp/wscript +++ b/share/mcp/wscript @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os diff --git a/share/media/wscript b/share/media/wscript index d904eea3c8..df2dbd07a9 100644 --- a/share/media/wscript +++ b/share/media/wscript @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os diff --git a/share/midi_maps/wscript b/share/midi_maps/wscript index ec2e65316a..76f6d65e5b 100644 --- a/share/midi_maps/wscript +++ b/share/midi_maps/wscript @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os diff --git a/share/osc/wscript b/share/osc/wscript index 64b173af5c..2da25b787a 100644 --- a/share/osc/wscript +++ b/share/osc/wscript @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os diff --git a/share/patchfiles/wscript b/share/patchfiles/wscript index ea54532e13..a75175272e 100644 --- a/share/patchfiles/wscript +++ b/share/patchfiles/wscript @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os diff --git a/share/plugin_metadata/wscript b/share/plugin_metadata/wscript index 9f2559095c..04e2a14971 100644 --- a/share/plugin_metadata/wscript +++ b/share/plugin_metadata/wscript @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os diff --git a/share/scripts/wscript b/share/scripts/wscript index a820a1fc13..40cb43f489 100644 --- a/share/scripts/wscript +++ b/share/scripts/wscript @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os diff --git a/tools/bb/wscript b/tools/bb/wscript index 3e9fd8d2d7..8e686cc338 100644 --- a/tools/bb/wscript +++ b/tools/bb/wscript @@ -1,3 +1,4 @@ +#!/usr/bin/env python import waflib.Logs as Logs, waflib.Utils as Utils import os