From e7e1d1da24f65aa1cf295d2a203bb744e456cd60 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Tue, 6 Dec 2011 09:07:59 +0000 Subject: [PATCH] minor tweaks added to installer git-svn-id: http://biopieces.googlecode.com/svn/trunk@1693 74ccb610-7750-0410-82ae-013aeee3265d --- ...s_installer-0.43.sh => biopieces_installer-0.44.sh} | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) rename bp_scripts/{biopieces_installer-0.43.sh => biopieces_installer-0.44.sh} (98%) diff --git a/bp_scripts/biopieces_installer-0.43.sh b/bp_scripts/biopieces_installer-0.44.sh similarity index 98% rename from bp_scripts/biopieces_installer-0.43.sh rename to bp_scripts/biopieces_installer-0.44.sh index b4599b8..15fa23c 100755 --- a/bp_scripts/biopieces_installer-0.43.sh +++ b/bp_scripts/biopieces_installer-0.44.sh @@ -5,7 +5,7 @@ bp_code="$HOME/biopieces" bp_data="$HOME/BP_DATA" - bp_log="/var/log" + bp_log="$HOME/BP_LOG" bp_tmp="/tmp" # Function that renders a given message in ASCII green. @@ -394,6 +394,14 @@ source \"\$BP_DIR/bp_conf/bashrc\" echo " \$BP_TMP is now set to: $BP_TMP" echo " \$BP_LOG is now set to: $BP_LOG" echo "" + + while true; do + read -p "Continue (yes/no)? " answer + case $answer in + [Yy]* ) break;; + [Nn]* ) exit_abort;; + esac + done fi } -- 2.39.2