Merge pull request #3082 from silby/oksh

Recognize "oksh" executable name as ksh
This commit is contained in:
Vidar Holen 2025-04-08 20:08:53 -07:00 committed by GitHub
commit 1be41dd652
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -167,6 +167,7 @@ shellForExecutable name =
"ksh" -> return Ksh "ksh" -> return Ksh
"ksh88" -> return Ksh "ksh88" -> return Ksh
"ksh93" -> return Ksh "ksh93" -> return Ksh
"oksh" -> return Ksh
_ -> Nothing _ -> Nothing
flagsForRead = "sreu:n:N:i:p:a:t:" flagsForRead = "sreu:n:N:i:p:a:t:"

View file

@ -3387,7 +3387,8 @@ readScriptFile sourced = do
"busybox sh", "busybox sh",
"bash", "bash",
"bats", "bats",
"ksh" "ksh",
"oksh"
] ]
badShells = [ badShells = [
"awk", "awk",