diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-09-27 09:52:09 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-10-13 08:23:36 +0200 |
commit | dcb80e7b5c57b14bbab2858c6c863d8f224ba43b (patch) | |
tree | deef005bfbc0bfea5976464f9e5e702c4a2afb24 | |
parent | 84b789f760e91bcbcf035cca5d40c40032ad87dd (diff) |
finddeps: Unset optdepends
The optdepends array should be unset before sourcing the PKGBUILD to avoid
dangling optional depends.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r-- | finddeps.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |