diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-03-31 09:43:28 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-03-31 09:43:28 +0200 |
commit | 6a1e6b30ca57920a461b713b2bf733ef7dbda210 (patch) | |
tree | 2b1d94acc54ca688c35973a7a2ed648b6cf01d94 /opentox-ruby.sh | |
parent | 89cadc0439892231757636fb64aeaf75d31416b8 (diff) |
opentox-ruby.sh
Diffstat (limited to 'opentox-ruby.sh')
-rwxr-xr-x | opentox-ruby.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/opentox-ruby.sh b/opentox-ruby.sh index 07bfb7b..550a636 100755 --- a/opentox-ruby.sh +++ b/opentox-ruby.sh @@ -41,9 +41,10 @@ read DIR="`pwd`" -for mygem in opentox-ruby builder jewler; do +for mygem in opentox-ruby builder jeweler; do if ! $GEM install $mygem>>$LOG 2>&1; then printf "%25s%15s\n" "'Install $mygem'" "FAIL" + exit 1 fi printf "%25s%15s\n" "'Install $mygem'" "DONE" done @@ -67,6 +68,7 @@ $GIT checkout -b development origin/development>>$LOG 2>&1 if ! $RAKE install >>$LOG 2>&1; then printf "%25s%15s\n" "'Install opentox-ruby'" "FAIL" + exit 1 fi printf "%25s%15s\n" "'Install opentox-ruby'" "DONE" |