mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 04:51:37 -07:00
Merge pull request #3082 from silby/oksh
Recognize "oksh" executable name as ksh
This commit is contained in:
commit
1be41dd652
2 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue