summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2009-03-31 00:54:39 -0500
committerSteve Peters <steve@fisharerojo.org>2009-03-31 00:54:39 -0500
commit89b75a3bb567ba74d8de183f09a611ebbc42ccd8 (patch)
treebce8c72b6017dbb9bbb355e7c72912c65d2a0f70
parentb1c3c09642d09c7f9654b8b6e0f19a60666079e9 (diff)
downloadperl-89b75a3bb567ba74d8de183f09a611ebbc42ccd8.tar.gz
Upgrade to CPANPLUS-Dist-Build-0.18.
-rw-r--r--lib/CPANPLUS/Dist/Build.pm9
-rw-r--r--lib/CPANPLUS/Dist/Build/Constants.pm2
2 files changed, 8 insertions, 3 deletions
diff --git a/lib/CPANPLUS/Dist/Build.pm b/lib/CPANPLUS/Dist/Build.pm
index 57b908a0f4..eaff9a071f 100644
--- a/lib/CPANPLUS/Dist/Build.pm
+++ b/lib/CPANPLUS/Dist/Build.pm
@@ -31,7 +31,7 @@ use Locale::Maketext::Simple Class => 'CPANPLUS', Style => 'gettext';
local $Params::Check::VERBOSE = 1;
-$VERSION = '0.16';
+$VERSION = '0.18';
=pod
@@ -501,7 +501,12 @@ sub create {
$args = check( $tmpl, \%hash ) or return;
}
- return 1 if $dist->status->created && !$force;
+ # restore the state as we have created this already.
+ if ( $dist->status->created && !$force ) {
+ ### add this directory to your lib ###
+ $self->add_to_includepath();
+ return 1;
+ }
$dist->status->_create_args( $args );
diff --git a/lib/CPANPLUS/Dist/Build/Constants.pm b/lib/CPANPLUS/Dist/Build/Constants.pm
index 4b9ac18ce4..253b30e970 100644
--- a/lib/CPANPLUS/Dist/Build/Constants.pm
+++ b/lib/CPANPLUS/Dist/Build/Constants.pm
@@ -9,7 +9,7 @@ BEGIN {
require Exporter;
use vars qw[$VERSION @ISA @EXPORT];
- $VERSION = '0.16';
+ $VERSION = '0.18';
@ISA = qw[Exporter];
@EXPORT = qw[ BUILD_DIR BUILD ];
}