diff options
Diffstat (limited to 'Library/Formula/clojure.rb')
| -rw-r--r-- | Library/Formula/clojure.rb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Library/Formula/clojure.rb b/Library/Formula/clojure.rb index 914ab766f..18e5835fb 100644 --- a/Library/Formula/clojure.rb +++ b/Library/Formula/clojure.rb @@ -13,13 +13,8 @@ class Clojure <Formula def script <<-EOS #!/bin/sh -# Runs clojure. -# With no arguments, runs Clojure's REPL. - -# resolve links - $0 may be a softlink -CLOJURE=$CLASSPATH:$(brew --cellar)/#{name}/#{version}/#{jar} - -java -cp $CLOJURE clojure.main "$@" +# Run Clojure. +exec java -cp "#{prefix}/#{jar}" clojure.main "$@" EOS end |
