aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-05-06 00:45:18 -0500
committerJack Nagel2012-05-06 01:07:44 -0500
commitfb3bacc14e19faee66b737cf50a732814ac6eea5 (patch)
tree389c073b965c2eebe9b30f5f42096b5426b2a45f /Library
parent5556e83db76fbbc055ac0edeb23f00fc6c07b2e4 (diff)
downloadhomebrew-fb3bacc14e19faee66b737cf50a732814ac6eea5.tar.bz2
graphviz: clean up test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/graphviz.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb
index d2c0bce29..fe95d3f96 100644
--- a/Library/Formula/graphviz.rb
+++ b/Library/Formula/graphviz.rb
@@ -55,7 +55,8 @@ class Graphviz < Formula
}
EOS
- system "#{bin}/dot -Tpdf -o sample.pdf sample.dot && /usr/bin/open ./sample.pdf && /bin/sleep 3"
+ system "#{bin}/dot", "-Tpdf", "-o", "sample.pdf", "sample.dot"
+ system "/usr/bin/qlmanage", "-p", "./sample.pdf"
end
end