From d39266a36d299c88e31bfcbccee224d37868e2db Mon Sep 17 00:00:00 2001 From: Micheal Quinn Date: Sun, 11 Aug 2019 16:35:51 -0500 Subject: [PATCH] wrangling another batch of wild global vars that should be local vars --- src/install/rewrite.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/install/rewrite.txt b/src/install/rewrite.txt index 52376781..2b257fb7 100644 --- a/src/install/rewrite.txt +++ b/src/install/rewrite.txt @@ -44,6 +44,9 @@ PREFIX="/usr/local/bin" # RETURNS: 0 #------------------------------------------------------------------------------- print_help() { + local help_header + local help_message + help_header="croc Installer Script" help_message="Usage: -p, --prefix @@ -100,6 +103,7 @@ print_message() { make_tempdir() { local template local tempdir + local tempdir_rcode template="${1}.XXXXXX" @@ -218,6 +222,7 @@ download_file() { checksum_check() { local checksum_file local file + local dir local rcode local shasum_1 local shasum_2