diff options
Diffstat (limited to 'fullpkg-ng')
-rwxr-xr-x | fullpkg-ng | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -156,8 +156,8 @@ function find_deps { # if search pkgname in repo doesn't work # this should find pkgsplits elif _dir=($(find "$ABSROOT/${_repo}" -type f -name PKGBUILD -print0 | \ - "xargs" -0 -e grep -HEw "pkgbase|pkgname|provides" | grep $_dep 2>&1)) - [ -n "$_dir" ]; then + "xargs" -0 -e grep -HEw "pkgname|pkgbase|provides" | grep $_dep 2>&1)); + then pushd $(dirname $(echo $_dir | cut -d: -f1)) > /dev/null $0 -c -d ${build_dir} -l ${next_level} # Circular deps must fail |