diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-04-28 12:48:20 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-04-28 12:48:20 +0200 |
commit | 7b37b2c92dc746446b6110eab2038254bd704a11 (patch) | |
tree | b243c40000c9cf21bf6535898e9161f573674f7e /opentox-ruby.sh | |
parent | e2dc50e08e9245e401ab5726f04706c825e9deaf (diff) |
Fixed checkout usage
Diffstat (limited to 'opentox-ruby.sh')
-rwxr-xr-x | opentox-ruby.sh | 2 |
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 |