[Xfce4-commits] <eatmonkey:aria2-xml-rpc> Substitute ~ with HOME in XDG_CONFIG_HOME
Mike Massonnet
noreply at xfce.org
Sat Feb 6 19:16:03 CET 2010
Updating branch refs/heads/aria2-xml-rpc
to b41ea4ecd7835ab0949bcf41355badd64ebc5f0e (commit)
from 7b351763424241bfd2030b1932117e6f51bf1055 (commit)
commit b41ea4ecd7835ab0949bcf41355badd64ebc5f0e
Author: Mike Massonnet <mmassonnet at gmail.com>
Date: Sat Feb 6 18:39:02 2010 +0100
Substitute ~ with HOME in XDG_CONFIG_HOME
src/config.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/config.rb b/src/config.rb
index 9d00f20..3153bdb 100644
--- a/src/config.rb
+++ b/src/config.rb
@@ -5,3 +5,4 @@ PACKAGE_STRING = "Eatmonkey #{PACKAGE_VERSION}"
PACKAGE_URL = "http://goodies.xfce.org/projects/applications/eatmonkey"
ENV['XDG_CONFIG_HOME'] = ENV['HOME']+"/.config" if ENV['XDG_CONFIG_HOME'] == nil
+ENV['XDG_CONFIG_HOME'] = ENV['XDG_CONFIG_HOME'].sub("~", ENV['HOME'])
More information about the Xfce4-commits
mailing list