Altius / hotspot2

Implementation of hotspot2 by Eric Rynes
16 stars 3 forks source link

mktemp error #3

Closed sjneph closed 8 years ago

sjneph commented 8 years ago

I'm seeing the same error that Tim reported:

mktemp: too few X's in template `frags'
../hotspot2.sh: line 234: : No such file or directory

which is this line TMPFRAGS="$(mktemp -t frags)"

Looking at the manpage, it looks like a fine usage of mktemp. Does bash have an override for mktemp? What if we use fragsXXXXX?

sjneph commented 8 years ago

another weirdness with the mktemp version that I have on fathom is that the file is created in the cwd, even though it should default to /tmp (I don't have an environmental tmpdir variable). If Tim has a flaky version too and he can't write to the cwd, it will still fail.