diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-28 22:10:26 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-28 22:10:26 -0500 |
commit | 06f10b87d16d4c83016ff3ef21217494f921d93b (patch) | |
tree | a96805d184775b9b45464763fa78d4786ddc38b6 /src/libretools.conf | |
parent | 01d928f223a23f28af04dc1cdfcfd62ed6cc3f61 (diff) |
many fixes
Diffstat (limited to 'src/libretools.conf')
-rw-r--r-- | src/libretools.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libretools.conf b/src/libretools.conf index 20c7d90..91ec452 100644 --- a/src/libretools.conf +++ b/src/libretools.conf @@ -108,8 +108,8 @@ TORUPATH=/var/lib/libretools/toru ################################################################################ LIBREUSER="${SUDO_USER:-$USER}" -LIBREHOME="$(eval echo ~$SUDO_USER)" -if [[ -z $XDG_CONFIG_HOME ]]; then +LIBREHOME="$(eval echo ~$LIBREUSER)" +if [[ -z ${XDG_CONFIG_HOME:-} ]]; then export XDG_CONFIG_HOME="${LIBREHOME}/.config" fi if [[ -e "$XDG_CONFIG_HOME/libretools/libretools.conf" ]]; then |