made the loop variable local, since it was hosing external uses of i variable.
authorFred T. Hamster <fred@gruntose.com>
Tue, 6 Sep 2016 22:50:56 +0000 (18:50 -0400)
committerFred T. Hamster <fred@gruntose.com>
Tue, 6 Sep 2016 22:50:56 +0000 (18:50 -0400)
scripts/core/functions.sh

index 0d1be4af851bc38239a1c9c672f6ecfe7b43893d..7edaa007b40b16e12b9075f5415a4a3a70bcc383 100644 (file)
@@ -560,6 +560,7 @@ return 0
       count=79
     fi
     echo
+    local i
     for ((i=0; i < $count - 1; i++)); do
       echo -n "="
     done