Commit c9525b6d authored by Philip Carns's avatar Philip Carns
Browse files

use gnuplot from system path if there is not one installed with darshan

git-svn-id: 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 2a411d2b
......@@ -22,10 +22,19 @@ use POSIX qw(strftime);
my $darshan_parser = "$PREFIX/bin/darshan-parser";
my $pdflatex = "pdflatex";
my $gnuplot = "$PREFIX/bin/gnuplot";
my $epstopdf = "epstopdf";
my $cp = "cp";
my $mv = "mv";
my $gnuplot;
# Prefer gnuplot installed with darshan, if present.
if(-x "$PREFIX/bin/gnuplot")
$gnuplot = "$PREFIX/bin/gnuplot";
$gnuplot = "gnuplot";
my $orig_dir = getcwd;
my $output_file = "summary.pdf";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment