Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

run.sh tweak

  • Loading branch information...
commit 8e12a7fe3bdc697b86d1deed04458f7f8bc4fb74 1 parent 4772b31
@tmm1 authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 jruby/run.sh
View
7 jruby/run.sh
@@ -1,18 +1,19 @@
#!/bin/sh
export TENGEN_APPSERVER=`expr "$(cat 10gen.properties)" : 'BASE=\(.*\)\/libraries'`
-echo TENGEN_APPSERVER : $TENGEN_APPSERVER
+echo TENGEN_APPSERVER=$TENGEN_APPSERVER
TEMP_CLASSPATH=./bin/:$TENGEN_APPSERVER/build/
for i in $TENGEN_APPSERVER/include/*.jar; do
export TEMP_CLASSPATH=${TEMP_CLASSPATH}:${i}
done
-echo TEMP_CLASSPATH : $TEMP_CLASSPATH
+echo TEMP_CLASSPATH=$TEMP_CLASSPATH
export ED_HOME=$TENGEN_APPSERVER
-echo ED_HOME : $TENGEN_APPSERVER
+echo ED_HOME=$TENGEN_APPSERVER
echo Ready to run mongo.rb
#javac -d bin src/mongo/ruby/Mongo.java
#java mongo.ruby.Mongo
CLASSPATH=$TEMP_CLASSPATH jruby mongo.rb
+echo Done.
Please sign in to comment.
Something went wrong with that request. Please try again.