From 547bd24884bbf044947620330783fcf09d81256b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= Date: Fri, 24 Jun 2011 17:10:46 -0500 Subject: Libremakepkg uses new cleaning mode --- fullpkg | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'fullpkg') diff --git a/fullpkg b/fullpkg index 31bf835..f6640dc 100755 --- a/fullpkg +++ b/fullpkg @@ -407,6 +407,13 @@ if [ ${build_only} == 'n' ]; then fi fi +# If the queue file isn't writable go into offline mode +[ ! -w $queue_file ] && { + error "Can't write queue file" + OFFLINE=true +} + + # Only on level 0 if [ $level -eq 0 ]; then # if build_dir exist use it, else make a build_dir @@ -423,6 +430,7 @@ if [ $level -eq 0 ]; then # Build only [ ${build_only} == 'y' ] && { + msg "Build Packages" _pkg_build exit 0 } @@ -473,12 +481,6 @@ find_deps || { ## START Building msg "Building packages:" -# If the queue file isn't writable go into offline mode -[ ! -w $queue_file ] && { - error "Can't write queue file" - OFFLINE=true -} - # Build the package _pkg_build -- cgit v1.2.3-2-g168b