mirror of
https://github.com/kennyp/asdf-golang.git
synced 2024-10-06 04:32:07 +08:00
Merge pull request #14 from mrinalwadhwa/master
fix temp directory creation for osx users that have GNU mktemp
This commit is contained in:
commit
b17c26a23e
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user