Merge pull request #14 from mrinalwadhwa/master

fix temp directory creation for osx users that have GNU mktemp
This commit is contained in:
Kenny Parnell 2018-01-24 10:37:26 -05:00 committed by GitHub
commit b17c26a23e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ my_mktemp () {
if [ "linux" = "$1" ] ; then
tempdir=$(mktemp -d asdf-golang.XXXX)
else
tempdir=$(mktemp -dt asdf-golang)
tempdir=$(mktemp -dt asdf-golang.XXXX)
fi
echo -n $tempdir
}