diff options
Diffstat (limited to 'src/fullpkg/fullpkg-build')
-rwxr-xr-x | src/fullpkg/fullpkg-build | 18 |
1 files changed, 7 insertions, 11 deletions
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 <status> <message> @@ -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 |