summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-12-24 17:57:21 +0100
committerAllan McRae <allan@archlinux.org>2014-12-27 08:04:29 +0100
commit286dc83451fe816b80a00806a7f15566ffcc23a7 (patch)
treecf28ccb8da024f87c8b9593f24692b43720229cc
parentd2d00e454353d5a420ce3406e9cd011e299d091d (diff)
downloadpacman-286dc83451fe816b80a00806a7f15566ffcc23a7.tar.gz
pacman-286dc83451fe816b80a00806a7f15566ffcc23a7.tar.xz
makepkg: fix typo in dep array name
We fixed this up to check architecture specific sources in ec679e09b2, but fudged the array name in the in_array call. Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index d53c39f2..ab4a784b 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