juhp / cabal-rpm

Haskell Cabal RPM packaging tool
https://hackage.haskell.org/package/cabal-rpm
GNU General Public License v3.0
25 stars 8 forks source link

cabal update leaves tmpdirs behind #26

Closed juhp closed 6 years ago

juhp commented 8 years ago

I think the problem is the update function in Update.hs. There may be some other commands with this problem too.

mimi1vx commented 8 years ago

cabal-rpm spec same problem

juhp commented 8 years ago

cabal-rpm spec same problem

Can you describe how to reproduce that?

mimi1vx commented 8 years ago

i ran cabal-rpm spec in loop over full stackage list :) ..

and in /tmp/$USER/ is many folders cblrpm.{random} folders ... almost all empty

( https://github.com/mimi1vx/scripts/blob/master/st2obs/st2obs )

juhp commented 8 years ago

Okay thanks - I was hoping maybe you could give me a one line invocation that would cause a tmpdir to remain. It seems only to happen in some cases.

juhp commented 7 years ago

Can you give of an example of a package for which this happens?

juhp commented 6 years ago

Okay I think I may have fixed this.