From 982b91d2b8dde1e87fc0c11995fd1a26e13c82ff Mon Sep 17 00:00:00 2001 From: Alfredo Canziani Date: Wed, 18 Feb 2015 15:51:42 -0500 Subject: Wrong version checking *gnuplot* is at version `5.0`. So, even though `0` < `4`, `5` > `4`. --- gnuplot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnuplot.lua b/gnuplot.lua index d33ebbe..ebbc630 100644 --- a/gnuplot.lua +++ b/gnuplot.lua @@ -190,7 +190,7 @@ local function findgnuplotexe() if v < 4 then error('gnuplot version 4 is required') end - if vv < 4 then + if v == 4 and vv < 4 then -- try to find gnuplot44 if o == 'linux' and paths.filep('/usr/bin/gnuplot44') then local ss = '/usr/bin/gnuplot44' -- cgit v1.2.3