Abstract cleanups in a CLEANUP array
authorGuido Trotter <ultrotter@google.com>
Mon, 26 Jan 2009 12:19:19 +0000 (12:19 +0000)
committerGuido Trotter <ultrotter@google.com>
Mon, 26 Jan 2009 12:19:19 +0000 (12:19 +0000)
commit730edd01f60098535abb61fa7d801f826fd1a0d7
treeabb3241ad1c126fe0dfc0c48fc4683f13fe58514
parent6d6736bf917a63579ef047f1ac68a3ac1bc5e00a
Abstract cleanups in a CLEANUP array

Rather than just having two cleanups for the whole script (namely the
umounting and removal of the temp directory) we can change cleanups with
an array structure, which is then executed in reverse order. This will
be used to add more operations that need their own cleanup, in a
structured way.

Reviewed-by: iustinp
create.in