From: Stefano Stabellini Date: Tue, 7 Apr 2015 11:32:16 +0000 (+0000) Subject: Add message about installing build time dependencies automatically X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=de09af8bbd46788f096952eecdf32a772f5ae9d8;p=raisin.git Add message about installing build time dependencies automatically Signed-off-by: Stefano Stabellini --- diff --git a/raise.sh b/raise.sh index a8bb23f..82ae7d8 100755 --- 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" ]]