Recognize "oksh" executable name as ksh
A portable version of OpenBSD's ksh is distributed with the executable name oksh [1]. It's a descendant of pdksh and can be shellchecked as ksh. [1]: https://github.com/ibara/oksh
This commit is contained in:
parent
47bff1d5fd
commit
944d87915a
|
@ -167,6 +167,7 @@ shellForExecutable name =
|
|||
"ksh" -> return Ksh
|
||||
"ksh88" -> return Ksh
|
||||
"ksh93" -> return Ksh
|
||||
"oksh" -> return Ksh
|
||||
_ -> Nothing
|
||||
|
||||
flagsForRead = "sreu:n:N:i:p:a:t:"
|
||||
|
|
|
@ -3387,7 +3387,8 @@ readScriptFile sourced = do
|
|||
"busybox sh",
|
||||
"bash",
|
||||
"bats",
|
||||
"ksh"
|
||||
"ksh",
|
||||
"oksh"
|
||||
]
|
||||
badShells = [
|
||||
"awk",
|
||||
|
|
Loading…
Reference in New Issue