aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/clojure.rb
diff options
context:
space:
mode:
authordbr2009-10-17 01:52:41 +0100
committerMax Howell2009-10-19 04:02:48 +0100
commit2142d12be00eaf7d919b4fe61a2e5b761745b9a4 (patch)
treed766ccdd90a267912b244200abb315ab6456c6f7 /Library/Formula/clojure.rb
parentbb8ff79634304298e11207f16facd98436e69d84 (diff)
downloadhomebrew-2142d12be00eaf7d919b4fe61a2e5b761745b9a4.tar.bz2
Don't ignore CLASSPATH in clj command
$CLOJURE was passed to java -classpath, which caused the $CLASSPATH ENV var to be ingored. This is needed for the clojure-contrib formula, and for using third-party classes, which is kind of useful..
Diffstat (limited to 'Library/Formula/clojure.rb')
-rw-r--r--Library/Formula/clojure.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/clojure.rb b/Library/Formula/clojure.rb
index a3ba7e9cd..741657592 100644
--- a/Library/Formula/clojure.rb
+++ b/Library/Formula/clojure.rb
@@ -31,7 +31,7 @@ __END__
# passed as command-line arguments.
# resolve links - $0 may be a softlink
-CLOJURE='CLOJURE_JAR_PATH_PLACEHOLDER'
+CLOJURE=$CLASSPATH:CLOJURE_JAR_PATH_PLACEHOLDER
if [ -z "$1" ]; then
java -server -cp $CLOJURE clojure.lang.Repl