summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/librestage
diff options
context:
space:
mode:
Diffstat (limited to 'src/abslibre-tools/librestage')
-rwxr-xr-xsrc/abslibre-tools/librestage10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/abslibre-tools/librestage b/src/abslibre-tools/librestage
index 74de8fb..0794b13 100755
--- a/src/abslibre-tools/librestage
+++ b/src/abslibre-tools/librestage
@@ -60,10 +60,12 @@ main() {
fi
# Load configuration
- load_files libretools
- check_vars libretools WORKDIR || return 1
- load_files makepkg # for PKGDEST, SRCDEST, and SRCPKGDEST, which are optional
- load_files librefetch # for MIRRORS, which is optional
+ declare -i ret=0
+ load_conf libretools.conf WORKDIR || ret=$?
+ load_conf makepkg.conf || ret=$? # for PKGDEST, SRCDEST, and SRCPKGDEST, which are optional
+ load_conf librefetch.conf || ret=$? # for MIRRORS, which is optional
+ [[ $ret = 0 ]] || exit $ret
+
SRCPKGPOOL="$WORKDIR/staging/sources/parabola"
# Load the PKGBUILD