"Wipe directory and start over" should not use source-subdir value
@ptomato
Submitted by Philip Chimento Link to original bug (#776959)
Description
If I have a <branch>
element in a build-from-tarball module such as the following,
Then if I choose "Wipe directory and start over", the directory mozilla-esr38.8.0/js/src gets wiped. Then when the tarball is unpacked again, the mozilla-esr38.8.0 directory isn't empty, so that operation fails and jhbuild exits with an exception.
Instead, jhbuild should wipe $checkoutdir and not checkoutdir/
source_subdir.