summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2016-11-20 14:37:57 +0100
committerDave Reisner <dreisner@archlinux.org>2016-11-20 14:37:57 +0100
commitdd0dc1b6c6d6b02e4e1613b62e373efa79d1562e (patch)
tree991fac2215d8cff223438d67b9f66c53986c0f2f /functions
parent89d9186264f56fcbceecd69681a79e70d43c6f14 (diff)
downloadmkinitcpio-dd0dc1b6c6d6b02e4e1613b62e373efa79d1562e.tar.gz
mkinitcpio-dd0dc1b6c6d6b02e4e1613b62e373efa79d1562e.tar.xz
functions: fix typo in variable name
builderrors -> _builderrors -- this makes binary dep resolution properly a builderror. As seen in: https://bugs.archlinux.org/task/51818
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 7785347..14235b2 100644
--- a/functions
+++ b/functions
@@ -590,7 +590,7 @@ add_binary() {
sodep=${BASH_REMATCH[1]}
elif [[ $line = *'not found' ]]; then
error "binary dependency \`%s' not found for \`%s'" "${line%% *}" "$1"
- (( ++builderrors ))
+ (( ++_builderrors ))
continue
fi