diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-02 01:58:59 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-02 01:58:59 -0500 |
commit | 937415f6f8988661d9fa577da1262712a7bfb4d8 (patch) | |
tree | beb8949878ee97c2c5676b3420c9f3afaa8740d3 | |
parent | 316df77571259583d0810cb1f1c3bc3b0ccdd0d5 (diff) |
fullpkg-ng corrected if statement on find_deps
-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 |