From af74e1a5884a23e29289c661c74fadbf72d794e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= Date: Thu, 2 Jun 2011 13:06:51 -0500 Subject: * find_deps guess is made only on var declaration --- fullpkg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fullpkg b/fullpkg index 213bf5e..14c4e9f 100755 --- a/fullpkg +++ b/fullpkg @@ -162,8 +162,9 @@ 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 "pkgname|pkgbase|provides" | grep $_dep 2>&1)); + "xargs" -0 -e grep -HEw "pkgname=|pkgbase=|provides=" | grep $_dep 2>&1)); then + plain "guess for $_dep -> $_dir" pushd $(dirname $(echo $_dir | cut -d: -f1)) > /dev/null $0 -c -d ${build_dir} -l ${next_level} # Circular deps must fail -- cgit v1.2.3