Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 15920
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: dom [...] idealx.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.27_03
Fixed in: (no value)



Subject: /some/other/dir/Build does not chdir() into /some/other/dir first
Download (untitled) / with headers
text/plain 709b
Contrary to what is documented in L<Module::Build::Authoring/base_dir>, the ./Build script does not chdir() into the toplevel build directory (although it does have code to check that it is running from the right place, and to bail out if not). I wish Module::Build would behave as documented, and also stash the cwd it was actually launched from and make it available through some extension API, because this would facilitate support for the Emacs debugger (http://sourceforge.net/mailarchive/forum.php?thread_id=8909497&forum_id=10905). Indeed, when Emacs launches something through M-x perldb the cwd is pretty random (depending on the buffer currently being edited). Using Perl 5.8.4 under Debian Sarge
Done, and the original directory is available via orig_dir(). -Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.