From fb3bacc14e19faee66b737cf50a732814ac6eea5 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 6 May 2012 00:45:18 -0500 Subject: graphviz: clean up test Signed-off-by: Jack Nagel --- Library/Formula/graphviz.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3