diff options
author | Tom Willemse | 2016-10-10 13:17:15 +0200 |
---|---|---|
committer | Tom Willemse | 2016-10-10 13:17:15 +0200 |
commit | 2b4e21e293fcc0ae72a0cb8d91dcb0b858b53465 (patch) | |
tree | e43cdfb7a882c6fa47afcace90762805690983ce /update-mirrors | |
parent | 485057f42d060637d1ea3e0e2b76eedbbac2ae06 (diff) | |
download | update-mirrors-2b4e21e293fcc0ae72a0cb8d91dcb0b858b53465.tar.gz update-mirrors-2b4e21e293fcc0ae72a0cb8d91dcb0b858b53465.zip |
Check proper config file location
Diffstat (limited to 'update-mirrors')
-rwxr-xr-x | update-mirrors | 2 |
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 |