diff options
Diffstat (limited to 'Library/Formula/jenkins.rb')
| -rw-r--r-- | Library/Formula/jenkins.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/jenkins.rb b/Library/Formula/jenkins.rb index f8a4df46f..4576ae166 100644 --- a/Library/Formula/jenkins.rb +++ b/Library/Formula/jenkins.rb @@ -11,12 +11,10 @@ class Jenkins < Formula def install if build.head? system "mvn clean install -pl war -am -DskipTests" - mv 'war/target/jenkins.war', '.' + libexec.install 'war/target/jenkins.war', '.' + else + libexec.install "jenkins.war" end - - libexec.install "jenkins.war" - plist_path.write startup_plist - plist_path.chmod 0644 end def caveats; <<-EOS.undent |
