From 394619c675008ee376a4a32ebd1d617f52c9e3a3 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 12 May 2013 01:33:09 -0400 Subject: jh-checksource: local variables --- jh-checksource.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jh-checksource.sh b/jh-checksource.sh index 7ebb04e..7b4ded7 100644 --- a/jh-checksource.sh +++ b/jh-checksource.sh @@ -47,7 +47,7 @@ print-machine() { } main() { - format=human + local format=human # Parse arguments for arg in "$@"; do case "$arg" in @@ -57,7 +57,7 @@ main() { done # Init - unsafe_files="$(mktemp)" + local unsafe_files="$(mktemp)" cleanup() { rm -f -- "$unsafe_files"; } trap cleanup EXIT -- cgit v1.2.3