diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-03-12 13:48:10 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-03-12 13:48:10 +0000 |
commit | 47f13fd55e4d882bda57d039f2f9bd7f39161c25 (patch) | |
tree | 52277a97812da61896f2d3e767b57046b27bd05b /lib/Module/Build/Compat.pm | |
parent | 888fea98b0a0f888136baacef34e1416016481b6 (diff) | |
download | perl-47f13fd55e4d882bda57d039f2f9bd7f39161c25.tar.gz |
Upgrade to Module-Build-0.27_09
p4raw-id: //depot/perl@27481
Diffstat (limited to 'lib/Module/Build/Compat.pm')
-rw-r--r-- | lib/Module/Build/Compat.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Module/Build/Compat.pm b/lib/Module/Build/Compat.pm index 25ce823dd7..1010866e8d 100644 --- a/lib/Module/Build/Compat.pm +++ b/lib/Module/Build/Compat.pm @@ -90,8 +90,9 @@ EOF # Save this 'cause CPAN will chdir all over the place. my $cwd = Cwd::cwd(); - # There seems to be no way to determine if this install was successful CPAN::Shell->install('Module::Build::Compat'); + CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate + or die "Couldn't install Module::Build, giving up.\n"; chdir $cwd or die "Cannot chdir() back to $cwd: $!"; } |