summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-02-02 17:30:06 +1000
committerAllan McRae <allan@archlinux.org>2014-02-02 17:31:51 +1000
commitb449878feaf3ddf49557632bd52c987a3a3a782c (patch)
tree0a1a1ab68a34cf7cf3aec0596dda3f47db8e3676 /scripts
parent236f1795e9f56674c330f6c04f2d164a37fd2682 (diff)
downloadpacman-b449878feaf3ddf49557632bd52c987a3a3a782c.tar.xz
makepkg: Fix typo in variable name
It turns out that you should refer to variables by their actual name... Introduced in commit a521cea9. FS#38414. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index e3d9a936..ce6c9dac 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1093,8 +1093,8 @@ remove_deps() {
# check for packages removed during dependency install (e.g. due to conflicts)
# removing all installed packages is risky in this case
- if [[ -n $(grep -xvFf <(printf '%s\n' "${current_packagelist[@]}") \
- <(printf '%s\n' "${original_packagelist[@]}") || true) ]]; then
+ if [[ -n $(grep -xvFf <(printf '%s\n' "${current_pkglist[@]}") \
+ <(printf '%s\n' "${original_pkglist[@]}") || true) ]]; then
warning "$(gettext "Failed to remove installed dependencies.")"
return 0
fi