aboutsummaryrefslogtreecommitdiffstats
path: root/core/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'core/config.rb')
-rw-r--r--core/config.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/config.rb b/core/config.rb
index b1378f8c..0a4cebeb 100644
--- a/core/config.rb
+++ b/core/config.rb
@@ -21,9 +21,8 @@ module CHIConfig
# pidファイル
PIDFILE = "#{File::SEPARATOR}tmp#{File::SEPARATOR}#{ACRO}.pid"
- confroot = File.expand_path(File.join("~", ".#{ACRO}"))
# コンフィグファイルのディレクトリ
- CONFROOT = (if Mopt.confroot then Mopt.confroot else confroot end) rescue confroot
+ CONFROOT = Mopt.confroot rescue File.expand_path('~/.mikutter')
# 一時ディレクトリ
TMPDIR = File.join(CONFROOT, 'tmp')