diff options
author | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-05-26 13:40:53 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-05-26 13:40:53 -0500 |
commit | 21a166c7487b3cc29e03d7ae4aac68a45828686d (patch) | |
tree | 6f806f72880f38d6ff8ac6164688b4c4578a29ed | |
parent | d74e1a0c4a9cc45ba9846b4093ae5222e08c3d4c (diff) |
* if someone else is building fullpkg skips the package
-rwxr-xr-x | fullpkg-ng | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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." } |