Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: GitHub noreply@github.com Date: Sat, 26 Oct 2024 19:11:53 UTC Commit: 8d3a2eed7d9d54cb780414c3e74efffe2a4bd7c9 https://github.com/geany/geany/commit/8d3a2eed7d9d54cb780414c3e74efffe2a4bd7...
Log Message: ----------- Merge pull request #4016 from techee/busybox
Recognize shell scripts when using busybox
Modified Paths: -------------- src/filetypes.c
Modified: src/filetypes.c 4 lines changed, 4 insertions(+), 0 deletions(-) =================================================================== @@ -635,6 +635,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++) {
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).