mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-28 00:07:03 +08:00
add support for /bin/busybox sh
shebang
This commit is contained in:
@@ -3238,7 +3238,9 @@ readScriptFile sourced = do
|
||||
(first:second:_) ->
|
||||
if basename first == "env"
|
||||
then second
|
||||
else basename first
|
||||
else if basename first == "busybox"
|
||||
then second
|
||||
else basename first
|
||||
|
||||
verifyShebang pos s = do
|
||||
case isValidShell s of
|
||||
|
Reference in New Issue
Block a user