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:
Josh Hagins 2015-01-21 07:04:00 -05:00 committed by Jack Nagel
parent 24b7873572
commit feadfd0a1c

View file

@ -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