summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-06-17 14:48:29 +0200
committerAndreas Maunz <andreas@maunz.de>2011-06-17 14:48:29 +0200
commit4f9fa3ca6d6baf54cb0692f5fb43c711eed67a9b (patch)
treef50170f82a069fd4ccdf3285c1a733333378486f
parenteb41351273866ba60f111bf1bc0b7617796fd390 (diff)
Checking success of pull
-rw-r--r--README10
1 files 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