From cd7de78a22fa54d7bf7080561dae109a79ccdc61 Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Thu, 31 Mar 2011 08:57:53 +0200 Subject: openbabel.sh --- ruby.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ruby.sh') diff --git a/ruby.sh b/ruby.sh index 371d78d..7d95da9 100755 --- a/ruby.sh +++ b/ruby.sh @@ -26,7 +26,7 @@ LOG="/tmp/`basename $0`-log.txt" echo "This installs Ruby Enterprise edition." echo "Your installation directory is '$RUBY_DEST'." echo "A configuration file is created and you are given the option to have it included in your '~.bashrc'." -echo "When compilation fails, see '$LOG' for details." +echo "Log file is '$LOG'." echo -n "Press to continue, or to abort." read @@ -46,8 +46,8 @@ fi if [ ! $RUBY_DONE ]; then cd /tmp URI="http://rubyenterpriseedition.googlecode.com/files/$RUBY_VER.tar.gz" - if ! $WGET -O - "$URI" 2>$LOG | tar zxv >>$LOG 2>&1 ; then - printf "%25s%15s\n" "'Download'" "FAIL" + if ! $WGET -O - "$URI" 2>>$LOG | tar zxv >>$LOG 2>&1 ; then + printf "%25s%15s\n" "'Download'" "FAIL" exit 1 fi printf "%25s%15s\n" "'Download'" "DONE" -- cgit v1.2.3