diff options
| author | Jack Nagel | 2012-05-06 00:45:18 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-05-06 01:07:44 -0500 |
| commit | fb3bacc14e19faee66b737cf50a732814ac6eea5 (patch) | |
| tree | 389c073b965c2eebe9b30f5f42096b5426b2a45f /Library/Formula | |
| parent | 5556e83db76fbbc055ac0edeb23f00fc6c07b2e4 (diff) | |
| download | homebrew-fb3bacc14e19faee66b737cf50a732814ac6eea5.tar.bz2 | |
graphviz: clean up test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/graphviz.rb | 3 |
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 |
