Update of /cvsroot/module-build/Module-Build/t
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22611/t
Modified Files:
destinations.t
Log Message:
Moved the setting of various default installation paths from being
scattered throughout several methods into the _set_install_paths()
method, which is called at new() time. Besides cleaning up the code,
this will pave the way for users to be able to change those defaults.
More checkins that rearrange things a little are coming.
Index: destinations.t
===================================================================
RCS file: /cvsroot/module-build/Module-Build/t/destinations.t,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- destinations.t 21 Jun 2005 23:26:42 -0000 1.16
+++ destinations.t 23 Jun 2005 00:27:44 -0000 1.17
@@ -117,8 +117,7 @@
# the prefix. Ensure it doesn't.
{
# Get the prefix defaults
- my $defaults = $M->_prefix_defaults;
- $defaults = $defaults->{site};
+ my $defaults = $M->prefix_relpaths('site');
# Create a configuration involving weird paths that are outside of
# the configured prefix.
|