Skip to content

Commit

Permalink
JariBakken: In 'go', use -d32 on OS X and -client everywhere else.
Browse files Browse the repository at this point in the history
r13208
  • Loading branch information
jarib committed Aug 3, 2011
1 parent 35ec8ea commit 9553746
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion go
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#!/bin/bash

java -d32 -jar third_party/jruby/jruby-complete.jar -X-C -S rake $*
case `uname` in
Darwin)
JAVA_OPTS="-d32"
;;
*)
JAVA_OPTS="-client"
;;
esac

java $JAVA_OPTS -jar third_party/jruby/jruby-complete.jar -X-C -S rake $*

2 changes: 1 addition & 1 deletion go.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off

java -d32 -jar third_party\jruby\jruby-complete.jar -X-C -S rake %*
java -client -jar third_party\jruby\jruby-complete.jar -X-C -S rake %*

0 comments on commit 9553746

Please sign in to comment.