diff options
author | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-05-30 13:08:40 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-05-30 13:08:40 -0500 |
commit | 59b7668ec6e19b03d90972fd9ed6cfb538904972 (patch) | |
tree | 190702b74a045990b8a87d17913c9ae5f2d487be | |
parent | b07a02f6b4b07562842e630fea959c3ebb6502c4 (diff) |
* build_packages is an array
-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" |