Commit 30459f0e authored by Leif Walsh's avatar Leif Walsh

#5 more portable mktemp

parent 3b95bb2b
......@@ -55,7 +55,7 @@ function github_download() {
if [ $? != 0 ] ; then return; fi
rm -f $dest.tar.gz
elif [ $github_use_ssh != 0 ] ; then
tempdir=$(mktemp -d -p $PWD)
tempdir=$(TMPDIR=$PWD mktemp -d)
retry git clone git@github.com:${repo}.git $tempdir
if [ $? != 0 ] ; then return; fi
pushd $tempdir
......
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