[pacman-dev] [PATCH] makepkg: fix typo in dep array name
Dave Reisner
dreisner at archlinux.org
Wed Dec 24 16:57:21 UTC 2014
We fixed this up to check architecture specific sources in ec679e09b2,
but fudged the array name in the in_array call.
---
scripts/makepkg.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index d53c39f..ab4a784 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -2925,7 +2925,7 @@ check_vcs_software() {
uninstalled="$(set +E; check_deps $client)" || exit 1
# if not installed, check presence in depends or makedepends
if [[ -n "$uninstalled" ]] && (( ! NODEPS || ( VERIFYSOURCE && !DEP_BIN ) )); then
- if ! in_array "$client" ${alldeps[@]}; then
+ if ! in_array "$client" ${all_deps[@]}; then
error "$(gettext "Cannot find the %s package needed to handle %s sources.")" \
"$client" "${proto%%+*}"
ret=1
--
2.2.1
More information about the pacman-dev
mailing list