]> xenbits.xensource.com Git - people/sstabellini/raisin.git/commitdiff
Add message about installing build time dependencies automatically
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 7 Apr 2015 11:32:16 +0000 (11:32 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 7 Apr 2015 11:38:34 +0000 (11:38 +0000)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
raise.sh

index a8bb23fccce09b23f12ec3a9847161a4c79fe789..82ae7d82f66bb083034f51a5d573a9f7231c379b 100755 (executable)
--- a/raise.sh
+++ b/raise.sh
@@ -47,6 +47,23 @@ do
   fi
 done
 
+if [[ $YES != "y" && $NO_DEPS -eq 0 ]]
+then
+    echo "Do you want Raisin to automatically install build time dependencies for you? (y/n)"
+    while read answer
+    do
+        if [[ "$answer" = "n" ]]
+        then
+            NO_DEPS=1
+            break
+        elif [[ "$answer" = "y" ]]
+        then
+            break
+        fi
+    done
+fi
+
+
 mkdir -p "$INST_DIR" &>/dev/null
 install_dependencies git
 if [[ $DISTRO = "Fedora" ]]