nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge: Extends catalog with a *try it* and a *download apk* links
[nit.git]
/
benchmarks
/
bench_plot.sh
diff --git
a/benchmarks/bench_plot.sh
b/benchmarks/bench_plot.sh
index
e874308
..
08a13e6
100755
(executable)
--- 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" "<img src=\"$bn.png\"/>"
-else
+fi
+if test -n "$DISPLAY"; then
echo "# gnuplot -p $1"
gnuplot -p "$1"
fi