Permalink
Browse files

use Cwd::chdir to update PWD

  • Loading branch information...
1 parent ed60c83 commit 36d76b5a35a883df53e4339bad350d670e9dade0 @miyagawa miyagawa committed Jun 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/App/cpanminus/script.pm
@@ -829,7 +829,7 @@ sub look {
sub chdir {
my $self = shift;
- chdir(File::Spec->canonpath($_[0])) or die "$_[0]: $!";
+ Cwd::chdir(File::Spec->canonpath($_[0])) or die "$_[0]: $!";
}
sub configure_mirrors {

0 comments on commit 36d76b5

Please sign in to comment.