summaryrefslogtreecommitdiff
path: root/opentox-ruby.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-04-28 12:48:20 +0200
committerAndreas Maunz <andreas@maunz.de>2011-04-28 12:48:20 +0200
commit7b37b2c92dc746446b6110eab2038254bd704a11 (patch)
treeb243c40000c9cf21bf6535898e9161f573674f7e /opentox-ruby.sh
parente2dc50e08e9245e401ab5726f04706c825e9deaf (diff)
Fixed checkout usage
Diffstat (limited to 'opentox-ruby.sh')
-rwxr-xr-xopentox-ruby.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentox-ruby.sh b/opentox-ruby.sh
index 3811484..607cf18 100755
--- a/opentox-ruby.sh
+++ b/opentox-ruby.sh
@@ -76,7 +76,7 @@ if [ "$OT_BRANCH" = "development" ]; then
rm -rf opentox-ruby >>$LOG 2>&1
$GIT clone git://github.com/opentox/opentox-ruby.git >>$LOG 2>&1
cd opentox-ruby >>$LOG 2>&1
- $GIT checkout -t origin/$OT_BRANCH >>$LOG 2>&1
+ $GIT checkout -b $OT_BRANCH origin/$OT_BRANCH >>$LOG 2>&1
cmd="$RAKE install" && run_cmd "$cmd" "Install"
GEM_LIB=`$GEM which opentox-ruby | sed 's/\/opentox-ruby.rb//'`
rm -rf "$GEM_LIB~" >>$LOG 2>&1