From 21a166c7487b3cc29e03d7ae4aac68a45828686d Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernandez Date: Thu, 26 May 2011 13:40:53 -0500 Subject: * if someone else is building fullpkg skips the package --- fullpkg-ng | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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." } -- cgit v1.2.3-2-g168b