diff options
Diffstat (limited to 'fullpkg')
-rwxr-xr-x | fullpkg | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -209,16 +209,16 @@ for _dep in ${deps[@]}; do source "$ABSROOT/${_repo}/$_dep/PKGBUILD" msg2 "Checking for $_dep>=$pkgver-$pkgrel" - if ! in_array $_dep ${force_array[@]}; then - if is_built "$_dep>=$pkgver-$pkgrel"; then - plain "this package is built" - break - fi - else - _fullpkgargs+="-f " - _fullpkgargs="$(echo $_fullpkgargs | sed s/"-R $_dep "//)" - force_array=( $(echo ${forcearray[@]} | tr " " "\n" | grep -vw "^$_dep") ) - fi + if ! in_array $_dep ${force_array[@]}; then + if is_built "$_dep>=$pkgver-$pkgrel"; then + plain "this package is built" + break + fi + else + _fullpkgargs+="-f " + _fullpkgargs="$(echo $_fullpkgargs | sed s/"-R $_dep "//)" + force_array=( $(echo ${forcearray[@]} | tr " " "\n" | grep -vw "^$_dep") ) + fi cp -r "$ABSROOT/$_repo/$_dep" $tmp_dir/ || { error "Can't copy $_dep to the work dir." |