Add comment
This commit is contained in:
parent
804edaad62
commit
22ce003d81
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ export GIT_INDEX_FILE=$(readlink -f `git rev-parse --git-path index`)
|
||||||
|
|
||||||
wd=`pwd`
|
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`
|
tmpdir=`mktemp -d`
|
||||||
trap 'rm -rf "$tmpdir"' EXIT
|
trap 'rm -rf "$tmpdir"' EXIT
|
||||||
cd "$tmpdir"
|
cd "$tmpdir"
|
||||||
|
|
Reference in a new issue