Merge branch 'js/add-i-mingw' into maint
* js/add-i-mingw: add--interactive: fix external command invocation on Windows
This commit is contained in:
commit
fa0963dac7
@ -169,7 +169,7 @@ my %patch_modes = (
|
||||
my %patch_mode_flavour = %{$patch_modes{stage}};
|
||||
|
||||
sub run_cmd_pipe {
|
||||
if ($^O eq 'MSWin32' || $^O eq 'msys') {
|
||||
if ($^O eq 'MSWin32') {
|
||||
my @invalid = grep {m/[":*]/} @_;
|
||||
die "$^O does not support: @invalid\n" if @invalid;
|
||||
my @args = map { m/ /o ? "\"$_\"": $_ } @_;
|
||||
|
Loading…
Reference in New Issue
Block a user