diff options
Diffstat (limited to 'ot-tools-user.sh')
-rw-r--r-- | ot-tools-user.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ot-tools-user.sh b/ot-tools-user.sh index b002db6..49278a1 100644 --- a/ot-tools-user.sh +++ b/ot-tools-user.sh @@ -32,6 +32,12 @@ otupdate() { return 1 fi cd - + cd $HOME/opentox-ruby/www/opentox/algorithm/bbrc-sample + if ! git pull; then + echo "Error! Pull for Bbrc-Sample failed." + return 1 + fi + cd - cd opentox-ruby LINK_DIR=`gem which opentox-ruby | sed 's/\/opentox-ruby.rb//'` if [ -h $LINK_DIR ]; then |