jenkins: fix _JAVA_OPTIONS usage

This commit is contained in:
Dominyk Tiller 2017-09-04 14:41:38 +01:00 committed by ilovezfs
parent 65f05e22b6
commit c21b2ba357

View file

@ -56,7 +56,7 @@ class Jenkins < Formula
test do
ENV["JENKINS_HOME"] = testpath
ENV["_JAVA_OPTIONS"] = "-Djava.io.tmpdir=#{testpath}"
ENV.prepend "_JAVA_OPTIONS", "-Djava.io.tmpdir=#{testpath}"
pid = fork do
exec "#{bin}/jenkins"
end