ソースを参照

Report proper gnuplot version.

If a custom version of gnuplot would be used by setting the GNUPLOT
environment variable, then still the default gnuplot was called to fill
in the gnuplot version number.

Signed-off-by: Sven van Haastregt <svhaastr@liacs.nl>
Sven van Haastregt 13 年 前
コミット
f562f98185
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      gitstats

+ 1
- 1
gitstats ファイルの表示

@@ -99,7 +99,7 @@ def getgitversion():
99 99
 	return getpipeoutput(['git --version']).split('\n')[0]
100 100
 
101 101
 def getgnuplotversion():
102
-	return getpipeoutput(['gnuplot --version']).split('\n')[0]
102
+	return getpipeoutput(['%s --version' % gnuplot_cmd]).split('\n')[0]
103 103
 
104 104
 class DataCollector:
105 105
 	"""Manages data collection from a revision control repository."""