mbucc / shmig

Database migration tool written in BASH.
BSD 3-Clause "New" or "Revised" License
458 stars 49 forks source link

mktemp #41

Open mbucc opened 6 years ago

mbucc commented 6 years ago

Forks keep replacing the weird way I create temp files with mktemp. Originally, @naquad used pipes, which are generally a better solution than temp files. I switched to temp files to fix issue #24. Maybe https://github.com/cheusov/pipestatus could be used to go back to pipes. Or just use mktemp.

mbucc commented 5 years ago

If I stick with files, see https://github.com/Neilpang/acmetest/blob/master/letest.sh#L183-L200 for a solution from a script master.