Commit edc89f0e authored by Lars Wirzenius's avatar Lars Wirzenius

Change: format.sh to clean up temp dir

parent 44d7d31c
......@@ -2,12 +2,13 @@
set -eu
tmp="$(mktemp -d)"
cleanup()
{
rm -rf "$tmp"
}
#trap cleanup EXIT
tmp="$(mktemp -d)"
trap cleanup EXIT
version="$(git describe)"
sed "s/^date: .*/date: $version/" vmdb2.mdwn > "$tmp/prelude.mdwn"
......
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