Tweak the moved cleanup_dirs to match the original.

Change-Id: I5cb240aa82a5d9ccea539927d355a1f07e728381
This commit is contained in:
Robert Collins 2013-05-09 08:32:36 +12:00
parent fe36ab5554
commit d5d775e9b4

View File

@ -145,7 +145,7 @@ function mount_qcow_image() {
function cleanup_dirs () {
sudo rm -rf $TMP_BUILD_DIR/built
sudo rm -rf $TMP_BUILD_DIR/mnt
sudo umount $TMP_BUILD_DIR
sudo umount -f $TMP_BUILD_DIR || true
rm -rf $TMP_BUILD_DIR
}