diff options
author | Michael G. Schwern <schwern@pobox.com> | 2012-07-24 20:21:09 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-07-27 22:13:25 +0000 |
commit | 4c8e5c55c2a2125bb3b6a06c1cd0d4415fac0016 (patch) | |
tree | 5483e8f25721b9ed06f67c6aba0c3ddbaac5d564 /perl/Makefile.PL | |
parent | Merge branch 'jc/test-lib-source-build-options-early' (diff) | |
download | tgif-4c8e5c55c2a2125bb3b6a06c1cd0d4415fac0016.tar.xz |
Quiet warning if Makefile.PL is run with -w and no --localedir
Usually it isn't, but its nice if it can be run with warnings on.
Signed-off-by: Michael G Schwern <schwern@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'perl/Makefile.PL')
-rw-r--r-- | perl/Makefile.PL | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/Makefile.PL b/perl/Makefile.PL index b54b04a619..87e1f62ff8 100644 --- a/perl/Makefile.PL +++ b/perl/Makefile.PL @@ -6,7 +6,8 @@ use Getopt::Long; # Sanity: die at first unknown option Getopt::Long::Configure qw/ pass_through /; -GetOptions("localedir=s" => \my $localedir); +my $localedir = ''; +GetOptions("localedir=s" => \$localedir); sub MY::postamble { return <<'MAKE_FRAG'; |