guix-install.sh: Add missing ‘local’ declaration.

* etc/guix-install.sh (chk_require): Make $c local.
This commit is contained in:
Tobias Geerinckx-Rice 2019-07-08 17:35:14 +02:00
parent 6c77d79a49
commit 7a2e0c52df
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ _debug()
chk_require() chk_require()
{ # Check that every required command is available. { # Check that every required command is available.
declare -a warn declare -a warn
local c
_debug "--- [ $FUNCNAME ] ---" _debug "--- [ $FUNCNAME ] ---"