summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-02 01:58:59 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-02 01:58:59 -0500
commit937415f6f8988661d9fa577da1262712a7bfb4d8 (patch)
treebeb8949878ee97c2c5676b3420c9f3afaa8740d3
parent316df77571259583d0810cb1f1c3bc3b0ccdd0d5 (diff)
fullpkg-ng corrected if statement on find_deps
-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