- do not extract old build results when build type is not handled.
authorAdrian Schröter <adrian@suse.de>
Wed, 27 Jun 2012 14:29:32 +0000 (16:29 +0200)
committerAdrian Schröter <adrian@suse.de>
Wed, 27 Jun 2012 14:29:32 +0000 (16:29 +0200)
build

diff --git a/build b/build
index 79589f5..5c388fc 100755 (executable)
--- a/build
+++ b/build
@@ -2318,6 +2318,9 @@ if test -n "$RUNNING_IN_VM" -a -n "$VM_SWAP"; then
        preinstallimage)
            computeblocklists $args $TOPDIR/OTHER/* > "$VM_SWAP"
            ;;
+       *)
+            cleanup_and_exit 1
+           ;;
     esac || cleanup_and_exit 1
 fi