From: Tim Bunce Date: Fri, 28 Sep 2012 19:16:53 +0000 (+0900) Subject: Don't "open -a Graphviz $opt_dot" unless on OSX X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=55e6dd931996a9553c21b6824b7019f1847b86f1;p=p5sagit%2FDevel-Size.git Don't "open -a Graphviz $opt_dot" unless on OSX --- diff --git a/bin/dmemtree.pl b/bin/dmemtree.pl index 4796770..a529bbd 100755 --- a/bin/dmemtree.pl +++ b/bin/dmemtree.pl @@ -300,7 +300,7 @@ if ($opt_verbose) { if ($dot_fh) { print $dot_fh "}\n"; close $dot_fh; - system("open -a Graphviz $opt_dot"); + system("open -a Graphviz $opt_dot") if $^O eq 'darwin'; # OSX } $dbh->commit if $dbh;