diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/conf.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/conf.sh b/src/lib/conf.sh index d0cded0..607f2b8 100644 --- a/src/lib/conf.sh +++ b/src/lib/conf.sh @@ -39,7 +39,7 @@ list_files() { echo "$LIBREHOME/.$slug.conf" ;; makepkg) - if [[ $MAKEPKG_CONF != /etc/$slug.conf && -r $MAKEPKG_CONF ]]; then + if [[ ${MAKEPKG_CONF:-} != /etc/$slug.conf && -r ${MAKEPKG_CONF:-} ]]; then echo "$MAKEPKG_CONF" else echo /etc/$slug.conf @@ -93,8 +93,6 @@ check_vars() { # makepkg configuration ######################################################## -[[ -n ${MAKEPKG_CONF:-} ]] || MAKEPKG_CONF=/etc/makepkg.conf - load_conf_makepkg() { load_files makepkg } |