Add comment

This commit is contained in:
Richard van der Hoff 2017-04-05 13:24:18 +01:00
parent 804edaad62
commit 22ce003d81
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ export GIT_INDEX_FILE=$(readlink -f `git rev-parse --git-path index`)
wd=`pwd`
# create a temp dir
# create a temp dir. The `trap` incantaion will ensure that it is removed again
# when this script completes.
tmpdir=`mktemp -d`
trap 'rm -rf "$tmpdir"' EXIT
cd "$tmpdir"