From 4f9fa3ca6d6baf54cb0692f5fb43c711eed67a9b Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Fri, 17 Jun 2011 14:48:29 +0200 Subject: Checking success of pull --- README | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README b/README index e45f7dc..781a37c 100644 --- a/README +++ b/README @@ -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 -- cgit v1.2.3