mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-07 21:41:34 -07:00
add support for /bin/busybox sh
shebang
This commit is contained in:
parent
15ff87cf80
commit
2e59eba6eb
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue