mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-30836 MTR Cygwin subshell wrapper fix
See "Path-style conflict" in "MDEV-30836 MTR Cygwin fix" for explanation. To install subshell fix use --cygwin-subshell-fix=do To uninstall use --cygwin-subshell-fix=remove This works only from Cygwin environment. As long as perl on PATH is from Cygwin you are on Cygwin environment. Check it with perl --version This is perl 5, version 36, subversion 1 (v5.36.1) built for x86_64-cygwin-threads-multi
This commit is contained in:
committed by
Daniel Black
parent
0815a3b6b5
commit
4ed583031a
@ -1237,7 +1237,8 @@ sub command_line_setup {
|
||||
'xml-report=s' => \$opt_xml_report,
|
||||
|
||||
My::Debugger::options(),
|
||||
My::CoreDump::options()
|
||||
My::CoreDump::options(),
|
||||
My::Platform::options()
|
||||
);
|
||||
|
||||
# fix options (that take an optional argument and *only* after = sign
|
||||
@ -1273,6 +1274,9 @@ sub command_line_setup {
|
||||
}
|
||||
if (IS_CYGWIN)
|
||||
{
|
||||
if (My::Platform::check_cygwin_subshell()) {
|
||||
die("Cygwin /bin/sh subshell requires fix with --cygwin-subshell-fix=do\n");
|
||||
}
|
||||
# Use mixed path format i.e c:/path/to/
|
||||
$glob_mysql_test_dir= mixed_path($glob_mysql_test_dir);
|
||||
}
|
||||
|
Reference in New Issue
Block a user