ssoma: avoid redundant slash for expand_path
authorEric Wong <e@80x24.org>
Wed, 30 Apr 2014 02:10:45 +0000 (02:10 +0000)
committerEric Wong <e@80x24.org>
Wed, 30 Apr 2014 02:10:45 +0000 (02:10 +0000)
This makes our error messages look ugly.

ssoma

diff --git a/ssoma b/ssoma
index 9f71aa34461ba5d612a74befdfabb804ea489b56..edabe5cfdc4ba1d981e29ac8fb80816dc3d408d4 100755 (executable)
--- a/ssoma
+++ b/ssoma
@@ -21,7 +21,7 @@ GetOptions(
        "force|f" => \$opts{force},
 ) or usage(1);
 
        "force|f" => \$opts{force},
 ) or usage(1);
 
-$ENV{SSOMA_HOME} ||= expand_filename("~/.ssoma/");
+$ENV{SSOMA_HOME} ||= expand_filename("~/.ssoma");
 
 # these expand automatically to the associated cmd_$name, so "add"
 # calls cmd_add, "sync" calls cmd_sync, and so forth
 
 # these expand automatically to the associated cmd_$name, so "add"
 # calls cmd_add, "sync" calls cmd_sync, and so forth