summaryrefslogtreecommitdiff
path: root/fullpkg-ng
diff options
context:
space:
mode:
Diffstat (limited to 'fullpkg-ng')
-rwxr-xr-xfullpkg-ng4
1 files changed, 2 insertions, 2 deletions
diff --git a/fullpkg-ng b/fullpkg-ng
index 537a7ca..a80f962 100755
--- a/fullpkg-ng
+++ b/fullpkg-ng
@@ -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