mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
wrangling another batch of wild global vars that should be local vars
This commit is contained in:
parent
bf15c4c424
commit
d39266a36d
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue