From f0747712a22addd54c33092f61f9cc5d3eaf2a90 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 23 May 2013 00:14:21 -0400 Subject: lib/blacklist.sh: source conf.sh globally to ensure XDG_CACHE_HOME is set --- src/lib/blacklist.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/blacklist.sh b/src/lib/blacklist.sh index ec34df1..79b79ce 100644 --- a/src/lib/blacklist.sh +++ b/src/lib/blacklist.sh @@ -1,5 +1,8 @@ #!/bin/bash +# make sure XDG_CACHE_HOME is set +. /usr/share/libretools/conf.sh + blacklist-normalize() { sed -e 's/^[^:]*$/&::/' -e 's/^[^:]*:[^:]*$/&:/' } @@ -14,7 +17,6 @@ blacklist-cat() { blacklist-update() ( set -euE - . /usr/share/libretools/conf.sh . libremessages load_files libretools check_vars BLACKLIST -- cgit v1.2.3-54-g00ecf