From 0a5894923e1b92ecbbcbff94b45e860666848e93 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 17 Jun 2012 17:54:29 -0500 Subject: jenkins: style nit Signed-off-by: Jack Nagel --- Library/Formula/jenkins.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/jenkins.rb b/Library/Formula/jenkins.rb index 69ab0d629..bc99f72a5 100644 --- a/Library/Formula/jenkins.rb +++ b/Library/Formula/jenkins.rb @@ -9,7 +9,11 @@ class Jenkins < Formula head 'https://github.com/jenkinsci/jenkins.git' def install - system "mvn clean install -pl war -am -DskipTests && mv war/target/jenkins.war ." if ARGV.build_head? + if ARGV.build_head? + system "mvn clean install -pl war -am -DskipTests" + mv 'war/target/jenkins.war', '.' + end + libexec.install "jenkins.war" plist_path.write startup_plist plist_path.chmod 0644 -- cgit v1.2.3