Commit 8c5101bf authored by User expired's avatar User expired
Browse files

bib-txt: Make sure to delete temporary directory

parent cb380548
......@@ -63,6 +63,7 @@ fi
TMPDIR=$(mktemp -d)
trap "rm -rf $TMPDIR" EXIT
# Function to remove latex macros such as \v{Z}.
# It treats nesting of curly braces up to third order.
......@@ -194,6 +195,3 @@ do
# Print citation.
eval echo -e "\"$FMTSTR\"" | sed 's/ */ /g;s/, ,/,/g;s/, (/ (/g'
done
# Remove temporary directory.
rm -rf "$TMPDIR"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment