dnbert / prm

PRM Allows you to quickly build package repositories, inspired by Jordan Sissels' FPM
MIT License
250 stars 33 forks source link

Don't rmtree tmp #56

Open pquerna opened 8 years ago

pquerna commented 8 years ago

I was running prm inside a docker container, with my working directory set to /....

And spent a long time trying to figure out why my files in /tmp kept disappearing:

https://github.com/dnbert/prm/blob/master/lib/prm/repo.rb#L139

It would be nice if all of the temp directory stuff created its own tempdir, and didn't hard code the relative path tmp/