summaryrefslogtreecommitdiff
path: root/etc/guix-install.sh
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-07-08 17:35:14 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-07-08 17:47:39 +0200
commit7a2e0c52df8e355d4b1596788d8f71fad3cbefea (patch)
tree446926512c5154655df7b6b08ca429219a33dd19 /etc/guix-install.sh
parent6c77d79a4994124150071b36bfbb74c18a4651b3 (diff)
downloadpatches-7a2e0c52df8e355d4b1596788d8f71fad3cbefea.tar
patches-7a2e0c52df8e355d4b1596788d8f71fad3cbefea.tar.gz
guix-install.sh: Add missing ‘local’ declaration.
* etc/guix-install.sh (chk_require): Make $c local.
Diffstat (limited to 'etc/guix-install.sh')
-rwxr-xr-xetc/guix-install.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index d3f80d1a35..05e2ef8157 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -87,6 +87,7 @@ _debug()
chk_require()
{ # Check that every required command is available.
declare -a warn
+ local c
_debug "--- [ $FUNCNAME ] ---"