aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-06-17 17:54:29 -0500
committerJack Nagel2012-06-17 17:55:56 -0500
commit0a5894923e1b92ecbbcbff94b45e860666848e93 (patch)
tree91791c9c6f25dc849d9c687c9fa858af7fa69ea8 /Library
parentffeb4813ee7b1293c83eb1dfce2e6c7773d96387 (diff)
downloadhomebrew-0a5894923e1b92ecbbcbff94b45e860666848e93.tar.bz2
jenkins: style nit
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/jenkins.rb6
1 files changed, 5 insertions, 1 deletions
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