FWIW, patching is likely as easy as this (untested):
diff --git a/src/filetypes.c b/src/filetypes.c
index b1913e368..f773f1a2b 100644
--- a/src/filetypes.c
+++ b/src/filetypes.c
@@ -632,6 +632,10 @@ static GeanyFiletype *find_shebang(const gchar *utf8_filename, const gchar *line
{ /* skip "env" and read the following interpreter */
basename_interpreter += 4;
}
+ else if (g_str_has_prefix(tmp, "busybox "))
+ {
+ basename_interpreter += 8;
+ }
for (i = 0; ! ft && i < G_N_ELEMENTS(intepreter_map); i++)
{
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.