Skip to content

Commit

Permalink
Patch for File::UserConfig.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansbv committed Sep 27, 2012
1 parent 4d98db2 commit 10da7fc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions patch/user_config.patch
@@ -0,0 +1,11 @@
--- lib/File/UserConfig.pm.orig 2012-09-24 19:00:44.892467866 +0300
+++ lib/File/UserConfig.pm 2012-09-24 19:01:21.240313951 +0300
@@ -162,7 +162,7 @@

# If we don't have a sharedir, get it
# from the dist.
- unless ( $self->sharedir ) {
+ unless ( $self->sharedir and -d $self->sharedir ) {
$self->{sharedir} = File::ShareDir::dist_dir($self->dist);
}

0 comments on commit 10da7fc

Please sign in to comment.