diff options
author | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-06-01 14:47:30 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-06-01 14:47:30 -0500 |
commit | aa2e26e54ba59741a36d9d802b9cd8ef156d7510 (patch) | |
tree | 28bf9ef6f9b1ee12908538f078da1cc16d32f061 | |
parent | 206df56bc34fe60e2041240cc5e0d62b0befd71a (diff) |
fullpkg-ng declare build_packages on cycle end
-rwxr-xr-x | fullpkg-ng | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -182,7 +182,6 @@ function _pkg_build () { # greater levels must be built first build_packages=($(sort -gr $buildorder | cut -d: -f2)) while [ ${#build_packages[@]} -ge 1 ]; do - build_packages=($(sort -gr $buildorder | cut -d: -f2)) pushd $build_dir/${build_packages[0]} > /dev/null source PKGBUILD msg2 "${pkgbase:-${pkgname[0]}} $pkgver-$pkgrel" @@ -243,6 +242,8 @@ function _pkg_build () { mv $buildorder.2 $buildorder # Take package out from queue remove_queue + # Set build_packages before next cycle run + build_packages=($(sort -gr $buildorder | cut -d: -f2)) popd > /dev/null done pkgs=$(cat $build_dir/log | grep "nonfree:") && { |