Skip to content

Commit

Permalink
whizard: fix audit errors
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hall committed Oct 13, 2017
1 parent e8fd1af commit 897a0e8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Formula/whizard.rb
@@ -1,7 +1,7 @@
class Whizard < Formula
desc "Monte Carlo event generator"
homepage "http://whizard.hepforge.org"
url "http://www.hepforge.org/archive/whizard/whizard-2.6.0.tar.gz"
homepage "https://whizard.hepforge.org"
url "https://www.hepforge.org/archive/whizard/whizard-2.6.0.tar.gz"
sha256 "e3fd7abdcfe4349bc84be36302c831e1262aecad9654a6e6e7b0f0436248814b"

depends_on :fortran
Expand All @@ -24,6 +24,8 @@ def install

system "./configure", *args
system "make", "install"

chmod 0755, Dir[bin/"*.*sh"]
end

test do
Expand All @@ -35,7 +37,7 @@ def install
simulate (ee)
EOS

system "whizard", "-r", testpath, "ee.sin"
system "#{bin}/whizard", "-r", testpath, "ee.sin"
ohai "You just successfully generated 10 events!"
end
end

0 comments on commit 897a0e8

Please sign in to comment.