summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-29 23:37:22 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-29 23:37:22 -0500
commit0c31cc7706821ba2262eed36aa5a18a584584d20 (patch)
tree442a448943b6762f3182a6999316abd297972f39
parent285ee68f879b655b50a7d8cb4d8c27c1fc82dd27 (diff)
Fullpkg anounces action on _pkg_build function
-rwxr-xr-xfullpkg-ng4
1 files changed, 4 insertions, 0 deletions
diff --git a/fullpkg-ng b/fullpkg-ng
index 277d570..30b90a8 100755
--- a/fullpkg-ng
+++ b/fullpkg-ng
@@ -193,14 +193,17 @@ function _pkg_build () {
sed -i "s/^\(arch=([^)anym]\+\))/\1 'mips64el')/" "PKGBUILD"
fi
# Check if pkg is being built, if it's not let everybody know we're building this.
+ msg2 "Checking build queue"
check_queue || {
echo "someone_is_building:$(basename $PWD)" >> $build_dir/log
egrep -vwh "$(basename $PWD)" $buildorder > $buildorder.2
continue
}
+ msg2 "Updating build queue"
update_queue || {
warning "Couldn't update the queue, let your partners know about this."
}
+ msg2 "Checking for non free deps"
pkgbuild-check-nonfree || {
if [ $? -eq 15 ]; then
echo "nonfree:$(basename $PWD)" >> $build_dir/log
@@ -208,6 +211,7 @@ function _pkg_build () {
continue
fi
}
+ msg2 "Building $(basename $PWD)"
$FULLBUILDCMD; r=$?
case $r in
0) plain "The build was succesful."