dapptools
dapptools copied to clipboard
mktemp: mkdtemp failed on -p: File exists
$ seth debug 0xf6302f3d2cbc1bae874becfb8342802dcda981eaef55f5df0c22c6a737bd78c2
mktemp: mkdtemp failed on -p: File exists
mktemp: mkdtemp failed on /tmp: File exists
Looks like it's caused by https://github.com/dapphub/dapptools/blob/master/src/seth/libexec/seth/seth-debug#L12 and https://github.com/dapphub/dapptools/blob/master/src/seth/libexec/seth/seth-debug#L33
Mac version of mktemp doesn't seem to have -p option and it's marked as deprecated here https://linux.die.net/man/1/mktemp
one solution would be to make sure seth uses gnu mktemp, as we already do with sed for example
how would we do that?