netpbm: fix audit
This commit is contained in:
parent
edb305fb61
commit
afeb64c684
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue