From fe09f9d2e977af20a860bfbbe305cc2e168a80aa Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Sat, 15 May 2010 19:46:08 +0200 Subject: [PATCH] Don't create gnuplot file with no body --- communication_techniques/parsing.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/communication_techniques/parsing.sh b/communication_techniques/parsing.sh index b41a85d..0589da6 100755 --- a/communication_techniques/parsing.sh +++ b/communication_techniques/parsing.sh @@ -270,9 +270,9 @@ create_gnuplot_file () esac datFile=bench_$bench-prod_$prod-metrique_$metrique.dat patternPlotFile="bench_$bench-prod_$prod-$metrique-$avg-$yscale" # Name without extension of plot and ps files - create_gnuplot_header "$prod" "$bench" "$patternPlotFile.gnuplot" if [ $metrique != "total_time" -o $yscale != "logscale" ] then + create_gnuplot_header "$prod" "$bench" "$patternPlotFile.gnuplot" create_gnuplot_body "$prod" "$bench" "$yscale" "$ylabel" "$lineNum" "$datFile" "$patternPlotFile" fi done