diff options
Diffstat (limited to 'fullpkg-ng')
-rwxr-xr-x | fullpkg-ng | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -178,9 +178,9 @@ function find_deps { function _pkg_build () { pushd ${build_dir} > /dev/null - build_packages=$(sort -gr $buildorder | cut -d: -f2) - while [ ${#build_packages[@]} -gt 1 ]; do - build_packages=$(sort -gr $buildorder | cut -d: -f2) + 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" |