From dcb80e7b5c57b14bbab2858c6c863d8f224ba43b Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 27 Sep 2011 09:52:09 +0200 Subject: finddeps: Unset optdepends The optdepends array should be unset before sourcing the PKGBUILD to avoid dangling optional depends. Signed-off-by: Lukas Fleischer --- finddeps.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finddeps.in b/finddeps.in index 3f4515b..4651fd9 100644 --- a/finddeps.in +++ b/finddeps.in @@ -16,7 +16,7 @@ fi find . -type d | while read d; do if [[ -f "$d/PKGBUILD" ]]; then - unset pkgname depends makedepends + unset pkgname depends makedepends optdepends . "$d/PKGBUILD" for dep in "${depends[@]}"; do # lose the version comparator, if any -- cgit v1.2.3-24-g4f1b