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/fullpkg/fullpkg-build | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'src/fullpkg/fullpkg-build') diff --git a/src/fullpkg/fullpkg-build b/src/fullpkg/fullpkg-build index b497db5..e52bff1 100755 --- a/src/fullpkg/fullpkg-build +++ b/src/fullpkg/fullpkg-build @@ -5,13 +5,13 @@ # TODO move __build to chroot -source /etc/makepkg.conf -source /etc/libretools.conf - -if [ -e $XDG_CONFIG_HOME/libretools/libretools.conf ]; then - source $XDG_CONFIG_HOME/libretools/libretools.conf -fi - +. libremessages +. $(librelib conf.sh) +load_files makepkg +load_files libretools +check_vars libretools FULLBUILDCMD || exit 1 +# The following variables are actually optional +#check_vars libretools HOOKPKGBUILDMOD HOOKLOCALRELEASE || exit 1 ## List packages on log that are on status ## usage: list_pkgs @@ -189,10 +189,6 @@ if "$CHECKNONFREE"; then check_nonfree fi -if [ -z "$FULLBUILDCMD" ]; then - error "Set your FULLBUILDCMD on libretools.conf" -fi - msg "$MESSAGE" __build -- cgit v1.2.3-54-g00ecf