diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-06-17 14:48:29 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-06-17 14:48:29 +0200 |
commit | 4f9fa3ca6d6baf54cb0692f5fb43c711eed67a9b (patch) | |
tree | f50170f82a069fd4ccdf3285c1a733333378486f | |
parent | eb41351273866ba60f111bf1bc0b7617796fd390 (diff) |
Checking success of pull
-rw-r--r-- | README | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -39,7 +39,10 @@ otupdate() { cd $HOME/opentox-ruby/www/opentox/algorithm/libfminer mv libbbrc/Makefile libbbrc/Makefile~ mv liblast/Makefile liblast/Makefile~ - git pull + if ! git pull; then + echo "Error! Pull for Fminer failed." + exit 1 + fi mv libbbrc/Makefile~ libbbrc/Makefile mv liblast/Makefile~ liblast/Makefile make -C libbbrc/ clean @@ -48,7 +51,10 @@ otupdate() { make -C liblast/ ruby cd - cd $HOME/opentox-ruby/www/opentox/algorithm/last-utils - git pull + if ! git pull; then + echo "Error! Pull for Last-Utils failed." + exit 1 + fi cd - cd opentox-ruby rake install |