diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-12 01:33:09 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-12 01:33:09 -0400 |
commit | 394619c675008ee376a4a32ebd1d617f52c9e3a3 (patch) | |
tree | 8381d7e5f7af061e0380b4ce2b544c3cf3252cf2 | |
parent | 41e59015a2e61ee42db6d8494629ea902bc42be3 (diff) |
jh-checksource: local variables
-rw-r--r-- | jh-checksource.sh | 4 |
1 files 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 |