jenkins: Fix --HEAD build
Without this change, the build fails with `Error: File exists - /usr/local/Cellar/jenkins/HEAD/libexec` Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
24b7873572
commit
feadfd0a1c
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class Jenkins < Formula
|
|||
def install
|
||||
if build.head?
|
||||
system "mvn clean install -pl war -am -DskipTests"
|
||||
libexec.install "war/target/jenkins.war", "."
|
||||
libexec.install "war/target/jenkins.war"
|
||||
else
|
||||
libexec.install "jenkins.war"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue