summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/conf.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/conf.sh.in b/src/lib/conf.sh.in
index 6a2a3b0..18b2a5b 100644
--- a/src/lib/conf.sh.in
+++ b/src/lib/conf.sh.in
@@ -22,7 +22,7 @@ LIBREUSER="${SUDO_USER:-$USER}"
if [[ $LIBREUSER == $USER ]]; then
LIBREHOME=$HOME
else
- LIBREHOME="$(eval echo ~$LIBREUSER)"
+ eval "LIBREHOME=~$LIBREUSER"
fi
if [[ -z ${XDG_CONFIG_HOME:-} ]]; then
export XDG_CONFIG_HOME="${LIBREHOME}/.config"