Skip to content
Browse files

Checking in changes prior to tagging of version 1.22.

Changelog diff is:
  • Loading branch information...
1 parent fe12e9c commit 9094c75aed60456af30054cd0d6a220ad7766717 @juster committed
Showing with 7 additions and 2 deletions.
  1. +4 −0 Changes
  2. +3 −2 lib/CPANPLUS/Dist/Arch.pm
View
4 Changes
@@ -6,6 +6,10 @@
: \____|_| |_|\__,_|_| |_|\__, |\___||___/
: |___/
+* Release 1.22 [2012-06-04 Mon] :BUGFIX:
+
+** Avoid using Cwd::abs_path on non-existant directory.
+
* Release 1.21 [2012-05-31 Thu]
** Developer versions nuked to hell. :BUGFIX:
View
5 lib/CPANPLUS/Dist/Arch.pm
@@ -6,7 +6,7 @@ use strict;
use CPANPLUS::Dist::Base qw();
use Exporter qw(import);
-our $VERSION = '1.21';
+our $VERSION = '1.22';
our @EXPORT = qw();
our @EXPORT_OK = qw(dist_pkgname dist_pkgver);
our %EXPORT_TAGS = ( 'all' => [ @EXPORT_OK ] );
@@ -410,7 +410,6 @@ Package type must be 'bin' or 'src'};
my ($destenv, $destdir) = $self->_calc_setdest( $pkg_type );
$destdir = $opts{'destdir'} || $status->destdir || $destdir;
- $destdir = Cwd::abs_path( $destdir );
# Create directories for building and delivering the new package.
MKDIR_LOOP:
@@ -423,6 +422,7 @@ Package type must be 'bin' or 'src'};
make_path( $dir, { 'verbose' => $opts{'verbose'} ? 1 : 0 });
}
+ $destdir = Cwd::abs_path( $destdir );
# Prepare our 'makepkg' package building directory,
# namely the PKGBUILD and source tarball files...
@@ -1635,3 +1635,4 @@ sub _get_mm_xs_deps
}
1; # End of CPANPLUS::Dist::Arch
+

0 comments on commit 9094c75

Please sign in to comment.
Something went wrong with that request. Please try again.