SCM-Manager: set JAVA_HOME
Closes Homebrew/homebrew#17789. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
ef0bc1e077
commit
bb021f1e45
|
@ -24,6 +24,7 @@ class ScmManager < Formula
|
|||
#!/bin/bash
|
||||
BASEDIR="#{libexec}"
|
||||
REPO="#{libexec}/lib"
|
||||
export JAVA_HOME=$(/usr/libexec/java_home -v 1.6)
|
||||
"#{libexec}/bin/scm-server" "$@"
|
||||
EOS
|
||||
chmod 0755, bin/'scm-server'
|
||||
|
|
Loading…
Reference in New Issue