diff options
-rw-r--r-- | jh-checksource.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jh-checksource.sh b/jh-checksource.sh index a0e98bb..ef3cf47 100644 --- a/jh-checksource.sh +++ b/jh-checksource.sh @@ -11,7 +11,7 @@ safe_files=("$@") unsafe_files="$(mktemp)" -safevar="$(`mktemp`)" +safevar="$(mktemp)" find . -type f -exec file -F"$sep" {} + | while read line; do file="$(echo "$line"|sed "s${resep}${sep}.*${resep}${resep}")" type="$(echo "$line"|sed "s${resep}.*${sep}\s*${resep}${resep}")" |