Fixed 3AMisms

This commit is contained in:
Logan G 2021-12-29 22:47:33 -07:00
parent 62a82b1088
commit 760bc7d2f6
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -26,7 +26,7 @@ done
#################
# Make tempdir
TMPDIR="/tmp/$(echo "$INPUT" | sed 's/\(.*\)\..*/\1/')-$RANDOM"
TMPDIR="/tmp/$(basename "$INPUT" | sed 's/\(.*\)\..*/\1/')-$RANDOM"
mkdir "$TMPDIR"
# Extract camrec file