summaryrefslogtreecommitdiff
path: root/jh-checksource.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jh-checksource.sh')
-rw-r--r--jh-checksource.sh4
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