From: Eric Wong Date: Wed, 30 Apr 2014 02:10:45 +0000 (+0000) Subject: ssoma: avoid redundant slash for expand_path X-Git-Tag: v0.1.0~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bff00d096656da54e5b41121c664137d9f51783d;p=ssoma-mda.git ssoma: avoid redundant slash for expand_path This makes our error messages look ugly. --- diff --git a/ssoma b/ssoma index 9f71aa3..edabe5c 100755 --- a/ssoma +++ b/ssoma @@ -21,7 +21,7 @@ GetOptions( "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