[Bps-public-commit] Config-GitLike branch, master, updated. b15b51d246a8254890e142ea02973acbeab25d12
jesse
jesse at bestpractical.com
Sun Jul 5 17:24:47 EDT 2009
The branch, master has been updated
via b15b51d246a8254890e142ea02973acbeab25d12 (commit)
from fd7e17f6623adda8040c8bf7091206c88aca1f4b (commit)
Summary of changes:
Makefile.PL | 1 -
lib/Config/GitLike.pm | 3 +--
2 files changed, 1 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit b15b51d246a8254890e142ea02973acbeab25d12
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Sun Jul 5 17:24:27 2009 -0400
File::HomeDir isn't really acceptable software on OSX
diff --git a/Makefile.PL b/Makefile.PL
index 6e050fc..4e16751 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -6,7 +6,6 @@ all_from('lib/Config/GitLike.pm');
requires 'Any::Moose';
requires 'Regexp::Common';
-requires 'File::HomeDir';
build_requires 'Test::More';
build_requires 'Test::Exception';
build_requires 'File::Spec';
diff --git a/lib/Config/GitLike.pm b/lib/Config/GitLike.pm
index 0783aeb..c6c21f9 100644
--- a/lib/Config/GitLike.pm
+++ b/lib/Config/GitLike.pm
@@ -4,7 +4,6 @@ use strict;
use warnings;
use File::Spec;
use Cwd;
-use File::HomeDir;
use Regexp::Common;
use Any::Moose;
use Scalar::Util qw(openhandle);
@@ -117,7 +116,7 @@ sub load_global {
sub user_file {
my $self = shift;
return
- File::Spec->catfile( File::HomeDir->my_home, "." . $self->confname );
+ File::Spec->catfile( $ENV{'HOME'}, "." . $self->confname );
}
sub load_user {
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list