- fix syntax error from last commit
authorAdrian Schröter <adrian@suse.de>
Sun, 15 May 2011 19:20:31 +0000 (21:20 +0200)
committerAdrian Schröter <adrian@suse.de>
Sun, 15 May 2011 19:20:31 +0000 (21:20 +0200)
build

diff --git a/build b/build
index 50a0506..b3c3647 100755 (executable)
--- a/build
+++ b/build
@@ -1185,7 +1185,7 @@ if test -z "$RUNNING_IN_VM" ; then
        fi
        mkdir_build_root
        if [ -w /root ]; then
-            if -b $VM_IMAGE; then
+            if [ -b $VM_IMAGE ]; then
                 # mount device directly
                mount $VM_IMAGE $BUILD_ROOT || cleanup_and_exit 3
            else