[feedgnuplot] 10/42: I no longer grab the gnuplot version if I don't need it

Dima Kogan dkogan-guest at alioth.debian.org
Sun Oct 20 08:04:03 UTC 2013


This is an automated email from the git hooks/post-receive script.

dkogan-guest pushed a commit to tag v1.25
in repository feedgnuplot.

commit 4e823e7de5881e7381bbe11ed4d8eb6f70e4dc49
Author: Dima Kogan <dima at secretsauce.net>
Date:   Fri Sep 20 00:31:25 2013 -0700

    I no longer grab the gnuplot version if I don't need it
---
 bin/feedgnuplot |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/bin/feedgnuplot b/bin/feedgnuplot
index cb9a411..022fd53 100755
--- a/bin/feedgnuplot
+++ b/bin/feedgnuplot
@@ -17,8 +17,6 @@ my $VERSION = 1.24;
 my %options;
 interpretCommandline();
 
-my $gnuplotVersion = getGnuplotVersion();
-
 # list containing the plot data. Each element is a reference to a list, representing the data for
 # one curve. The first 'point' is a hash describing various curve parameters. The rest are all
 # references to lists of (x,y) tuples
@@ -346,9 +344,9 @@ sub mainThread
     local *PIPE;
     my $dopersist = '';
 
-    if($gnuplotVersion >= 4.3)
+    if( !$options{stream} && getGnuplotVersion() >= 4.3)
     {
-      $dopersist = '--persist' if(!$options{stream});
+      $dopersist = '--persist';
     }
 
     if(exists $options{dump})

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/feedgnuplot.git



More information about the debian-science-commits mailing list