We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5ae513 + ae56bdd commit 6536aa7Copy full SHA for 6536aa7
t/echo.t
@@ -33,6 +33,9 @@ $mm->init_tools; # need ECHO
33
# Run Perl with the currently installing MakeMaker
34
$mm->{$_} .= q[ "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"] for qw( PERLRUN FULLPERLRUN ABSPERLRUN );
35
36
+#see sub specify_shell
37
+my $shell = $^O eq 'MSWin32' && $mm->is_make_type('gmake') ? $ENV{COMSPEC} : undef;
38
+
39
#------------------- Testing functions
40
41
sub test_for_echo {
@@ -53,6 +56,7 @@ sub test_for_echo {
53
56
for my $key (qw(INST_ARCHLIB INST_LIB PERL ABSPERL ABSPERLRUN ECHO)) {
54
57
print $makefh "$key=$mm->{$key}\n";
55
58
}
59
+ print $makefh "SHELL=$shell\n" if defined $shell;
60
61
print $makefh "all :\n";
62
for my $args (@$calls) {
0 commit comments