summaryrefslogtreecommitdiff
path: root/utils.sh
diff options
context:
space:
mode:
authordavor <vorgrimmlerdavid@gmx.de>2012-08-03 18:11:26 +0200
committerdavor <vorgrimmlerdavid@gmx.de>2012-08-03 18:11:26 +0200
commit3a6e2cdcf50d40d2eee12c3dc36e8890bd9712a8 (patch)
tree4745ad6278445ee8e61062638ef6952c182e9ddf /utils.sh
parent1393f5f75b4afb50986a6d79fc2657be965ae1d7 (diff)
Modified/renamed scripts.
Diffstat (limited to 'utils.sh')
-rwxr-xr-xutils.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils.sh b/utils.sh
index 8ff9f6d..130525e 100755
--- a/utils.sh
+++ b/utils.sh
@@ -98,7 +98,7 @@ ot_git_download(){
printf "\n%50s\n" "GIT DOWNLOAD"
check_utils "git"
cd $OT_PREFIX
- cmd="git clone git@github.com:opentox/$SERVICE.git" && run_cmd "$cmd" "Downloading $SERVICE git repository"
+ cmd="$GIT clone git@github.com:opentox/$SERVICE.git" && run_cmd "$cmd" "Downloading $SERVICE git repository"
}
# install opentox service
@@ -108,7 +108,8 @@ install_ot_service(){
cd $OT_PREFIX
ot_git_download
cd $SERVICE
- git checkout $OT_BRANCH
+ $GIT checkout $OT_BRANCH >>$LOG 2>&1
+ $RBENV local $RUBY_NUM_VER
case "$SERVICE" in
opentox-server) install_with_bundler;;
opentox-client) install_with_bundler;;