We need to check for msys as well as Windows in add--interactive.

Signed-off-by: Mike Pape <dotzenlabs@gmail.com>
This commit is contained in:
Mike Pape
2007-08-09 14:30:18 -04:00
parent cfbeb65f6e
commit e11db787dc

View File

@@ -3,7 +3,7 @@
use strict;
sub run_cmd_pipe {
if ($^O eq 'MSWin32') {
if ($^O eq 'MSWin32' || $^O eq 'msys') {
my @invalid = grep {m/[":*]/} @_;
die "$^O does not support: @invalid\n" if @invalid;
my @args = map { m/ /o ? "\"$_\"": $_ } @_;