Remove 'function' keyword from '_warn_deprecated_winver' for compatibility with standard shell
Causes an error when I execute a shell with 'dash'; removing it seems to restore expected behavior (unable to test the actual condition)
This commit is contained in:
parent
64ff5a3c77
commit
a14269ea72
@ -6,7 +6,7 @@ if [ ! "${MINGW_PREFIX}" = "" ]; then
|
||||
fi
|
||||
|
||||
# Warn the user on the first login shell in case we detect a too old Windows version
|
||||
function _warn_deprecated_winver()
|
||||
_warn_deprecated_winver()
|
||||
{
|
||||
if [ "$__MSYS2_WINDOWS_VERSION_WARNING_DONE" = "true" ]; then
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user