Subject: | Backend make() sometimes finds wrong Makefile.PL |
Patch attached. Essentially, the C<do"Makefile.PL"> code seems to
sometimes catch the wrong Makefile.PL. Changing it to
C<do"./Makefile.PL"> ensures that it catches the right one.
-- Rocco Caputo / troc@pobox.com / poe.perl.org / poe.sf.net
--- CPANPLUS/Internals/Make.pm-orig Sun Oct 13 22:26:58 2002
+++ CPANPLUS/Internals/Make.pm Sun Oct 13 22:27:34 2002
@@ -111,7 +111,7 @@
### BIG CAVEAT: We're forced to use the $|=1 trick to ensure proper
### ordering of STDIN, STDOUT and STDERR in captured buffer
unless( $self->_run(
- command => [$perl, '-e', '$|=1;do"Makefile.PL"', @args],
+ command => [$perl, '-e', '$|=1;do"./Makefile.PL"', @args],
buffer => \$captured,
verbose => 1
) ) {