summaryrefslogtreecommitdiff
path: root/fullpkg
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-24 17:10:46 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-24 17:10:46 -0500
commit547bd24884bbf044947620330783fcf09d81256b (patch)
tree64f39a931b3b91a6a5899ac2d381b4064ed1dd4a /fullpkg
parent0f527db6e225f7e8152d41b32dda434bb58f7e15 (diff)
Libremakepkg uses new cleaning mode
Diffstat (limited to 'fullpkg')
-rwxr-xr-xfullpkg14
1 files changed, 8 insertions, 6 deletions
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