From 1316ba7aa96c69ea541f1b7b3715aad5d1c8eb14 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 31 May 2013 18:52:49 -0600 Subject: [all tools]: use conf.sh (and libremessages if necessary) --- src/abslibre-tools/librestage | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/abslibre-tools/librestage') diff --git a/src/abslibre-tools/librestage b/src/abslibre-tools/librestage index ae66cce..c0936cc 100755 --- a/src/abslibre-tools/librestage +++ b/src/abslibre-tools/librestage @@ -22,9 +22,10 @@ # along with Parabola. If not, see . -source /etc/libretools.conf -custom_config=$XDG_CONFIG_HOME/libretools/libretools.conf -[[ -e $custom_config ]] && source $custom_config +. libremessages +. $(librelib conf.sh) +load_files libretools +check_vars libretools ARCHES WORKDIR || exit 1 if [ -w / ]; then error "This script should be run as regular user" @@ -68,8 +69,7 @@ fi } # Source the needed files -source /etc/makepkg.conf -[[ -e ~/.makepkg.conf ]] && source ~/.makepkg.conf +load_files makepkg source ./PKGBUILD [[ -e ./rePKGBUILD ]] && source ./rePKGBUILD -- cgit v1.2.2