forked from espressif/esp-idf
fix(tools): add support for shells compatible with ksh
Currently, the export tools are detecting only ksh, but there are also compatible variants like pdksh and others. This update adds support for such ksh-compatible shells to improve export tool compatibility with ksh variants. Closes https://github.com/espressif/esp-idf/issues/16043 Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
@@ -323,7 +323,16 @@ SHELL_CLASSES = {
|
||||
'zsh': ZshShell,
|
||||
'fish': FishShell,
|
||||
'sh': UnixShell,
|
||||
|
||||
# KornShell variants
|
||||
'ksh': UnixShell,
|
||||
'ksh93': UnixShell,
|
||||
'mksh': UnixShell,
|
||||
'lksh': UnixShell,
|
||||
'pdksh': UnixShell,
|
||||
'oksh': UnixShell,
|
||||
'loksh': UnixShell,
|
||||
|
||||
'dash': UnixShell,
|
||||
'nu': UnixShell,
|
||||
'pwsh.exe': PowerShell,
|
||||
|
Reference in New Issue
Block a user