13 Oct
2011
13 Oct
'11
8:24 a.m.
The optdepends array should be unset before sourcing the PKGBUILD to avoid dangling optional depends. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> --- finddeps | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/finddeps b/finddeps index 3f4515b..4651fd9 100755 --- a/finddeps +++ b/finddeps @@ -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 -- 1.7.7