add support for /bin/busybox sh shebang

This commit is contained in:
Austin English 2021-02-05 19:56:44 -06:00
parent 15ff87cf80
commit 2e59eba6eb
2 changed files with 9 additions and 1 deletions

View file

@ -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