diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-04-01 15:58:44 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-04-01 15:58:44 +0200 |
commit | 2db8689b25e8ec6ff7c2d6472787ba2bdd98ef38 (patch) | |
tree | dfc766fed97ef307ed1e0a3d82b9dcead42e528f /opentox-webservices.sh | |
parent | 59aeec7630a6487d4f067915692c834722349ba5 (diff) |
all
Diffstat (limited to 'opentox-webservices.sh')
-rwxr-xr-x | opentox-webservices.sh | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/opentox-webservices.sh b/opentox-webservices.sh index 02558ab..8c73724 100755 --- a/opentox-webservices.sh +++ b/opentox-webservices.sh @@ -55,12 +55,18 @@ done # fminer etc cmd="test -f $HOME/.opentox/config/production.yaml" && run_cmd "$cmd" "Config present" -cd $WWW_DEST/opentox/algorithm >>$LOG 2>&1 -sudo updatedb >>$LOG 2>&1 +cd "$WWW_DEST/opentox/algorithm" >>$LOG 2>&1 +cmd="git submodule init" && run_cmd "$cmd" "Fminer Init" +cmd="git submodule update" && run_cmd "$cmd" "Fminer Update" for mylib in bbrc last; do - cmd="sed -i 's,INCLUDE_OB.*,INCLUDE_OB\ =\ $OB_DEST/include,g' $WWW_DEST/algorithm/libfminer/lib$mylib/Makefile" && run_cmd "$cmd" "Makefile $mylib" + cmd="sed -i 's,INCLUDE_OB.*,INCLUDE_OB\ =\ $OB_DEST/include,g' $WWW_DEST/opentox/algorithm/libfminer/lib$mylib/Makefile" && run_cmd "$cmd" "Makefile $mylib" done -cmd="$RAKE fminer:install" && run_cmd "$cmd" "Make" +cd "libfminer/libbbrc">>$LOG 2>&1 +cmd="make ruby" && run_cmd "$cmd" "Make BBRC" +cd ->>$LOG 2>&1 +cd "libfminer/liblast">>$LOG 2>&1 +cmd="make ruby" && run_cmd "$cmd" "Make BBRC" +cd ->>$LOG 2>&1 cd "$DIR" |