netpbm: fix audit

This commit is contained in:
Dominyk Tiller 2015-09-23 22:40:38 +01:00
parent edb305fb61
commit afeb64c684

View file

@ -26,7 +26,7 @@ class Netpbm < Formula
def install
ENV.universal_binary if build.universal?
system "cp", "config.mk.in", "config.mk"
cp "config.mk.in", "config.mk"
inreplace "config.mk" do |s|
s.remove_make_var! "CC"
@ -63,4 +63,10 @@ class Netpbm < Formula
(bin/"doc.url").unlink
end
test do
system ("#{bin}/pngtopam #{test_fixtures("test.png")} -alphapam >> test.pam")
system "#{bin}/pamdice", "test.pam", "-outstem", "#{testpath}/testing"
assert File.exist?("testing_0_0.")
end
end