Permalink
Browse files

fixed deep recursion problem cause by last commit

  • Loading branch information...
jberger committed Mar 15, 2012
1 parent e8ee4af commit b9e0554b1d8bbb9dc8ab696402f5694736b9a41d
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Alien/Base.pm
View
@@ -6,7 +6,7 @@ use warnings;
use Carp;
use File::chdir;
-use File::ShareDir qw/dist_dir/;
+use File::ShareDir ();
use Scalar::Util qw/blessed/;
our $VERSION = 0.01;
@@ -35,7 +35,7 @@ sub dist_dir {
my $dist = $class;
$dist =~ s/::/-/g;
- return eval { dist_dir $dist } or $class->{build_share_dir};
+ return eval { File::ShareDir::dist_dir $dist } or $class->{build_share_dir};
}
sub new { return bless {}, $_[0] }

0 comments on commit b9e0554

Please sign in to comment.