summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-26 13:40:53 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-26 13:40:53 -0500
commit21a166c7487b3cc29e03d7ae4aac68a45828686d (patch)
tree6f806f72880f38d6ff8ac6164688b4c4578a29ed
parentd74e1a0c4a9cc45ba9846b4093ae5222e08c3d4c (diff)
* if someone else is building fullpkg skips the package
-rwxr-xr-xfullpkg-ng6
1 files changed, 5 insertions, 1 deletions
diff --git a/fullpkg-ng b/fullpkg-ng
index 1811771..c1d2775 100755
--- a/fullpkg-ng
+++ b/fullpkg-ng
@@ -276,7 +276,11 @@ while [ ${#build_packages[@]} -gt 0 ]; do
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.
- check_queue || continue
+ check_queue || {
+ echo "someone_is_building:$(basename $PWD)" >> $build_dir/log
+ egrep -vwh ${build_packages[0]} $buildorder > $buildorder.2
+ continue
+ }
update_queue || {
warning "Couldn't update the queue, let your partners know about this."
}