X-Git-Url: http://nitlanguage.org diff --git a/benchmarks/bench_plot.sh b/benchmarks/bench_plot.sh index e874308..08a13e6 100755 --- a/benchmarks/bench_plot.sh +++ b/benchmarks/bench_plot.sh @@ -103,7 +103,8 @@ if test -n "$html"; then echo gnuplot -e "set term png; set output \"$bn.png\"" "$1" echo >>"$html" "" -else +fi +if test -n "$DISPLAY"; then echo "# gnuplot -p $1" gnuplot -p "$1" fi