]> gitweb.factorcode.org Git - factor.git/commitdiff
factor.sh: Propogated NO_UI=1 flag into the bootstrap via -exclude="ui ui.tools"
authorotoburb <otoburb@gmail.com>
Fri, 1 Apr 2011 03:24:22 +0000 (03:24 +0000)
committerotoburb <otoburb@gmail.com>
Fri, 1 Apr 2011 03:24:22 +0000 (03:24 +0000)
build-support/factor.sh

index 52a989b78d67ec8d908b7cfeaf69316a6cc6bcd0..35ee32706c29cd17d18d258e447b4e1c67bc4a7e 100755 (executable)
@@ -493,7 +493,11 @@ copy_fresh_image() {
 }
 
 bootstrap() {
-    ./$FACTOR_BINARY -i=$BOOT_IMAGE
+    if [[ -z $NO_UI ]]; then
+        ./$FACTOR_BINARY -i=$BOOT_IMAGE
+    else
+        ./$FACTOR_BINARY -i=$BOOT_IMAGE -exclude="ui ui.tools"
+    fi
        copy_fresh_image
 }