aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate-mirrors2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-mirrors b/update-mirrors
index a17b19e..2723066 100755
--- a/update-mirrors
+++ b/update-mirrors
@@ -46,7 +46,7 @@ etcbases=${XDG_CONFIG_DIRS:-"/etc/xdg"}
cfgbase=${XDG_CONFIG_HOME:-"${HOME}/.config"}
cfgfile="/update-mirrors/config.sh"
-if [[ -x $cfgfile ]]; then
+if [[ -x "${cfgbase}${cfgfile}" ]]; then
source "${cfgbase}${cfgfile}"
else
load-global-config $etcbases $cfgfile