about summary refs log tree commit homepage
path: root/lib/PublicInbox/Config.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-30 01:02:53 +0000
committerEric Wong <e@80x24.org>2014-04-30 01:02:53 +0000
commit05d1dac95a93902b5f2877d01c77f02c6455eb85 (patch)
treef566e25229c970bf12a164faef6add196da8ed26 /lib/PublicInbox/Config.pm
parent1ccbf841e93fdb569e1944901bc5d27cd9e8bbc7 (diff)
downloadpublic-inbox-05d1dac95a93902b5f2877d01c77f02c6455eb85.tar.gz
It looks ugly in error messages to have redundant slashes.
Diffstat (limited to 'lib/PublicInbox/Config.pm')
-rw-r--r--lib/PublicInbox/Config.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm
index 876e5d02..364e6091 100644
--- a/lib/PublicInbox/Config.pm
+++ b/lib/PublicInbox/Config.pm
@@ -78,7 +78,7 @@ sub get {
 sub default_file {
         my $f = $ENV{PI_CONFIG};
         return $f if defined $f;
-        my $pi_dir = $ENV{PI_DIR} || expand_filename('~/.public-inbox/');
+        my $pi_dir = $ENV{PI_DIR} || expand_filename('~/.public-inbox');
         "$pi_dir/config";
 }