# HG changeset patch # User Benjamin Lindner # Date 1243152330 -7200 # Node ID 98034ebda17272ccbad6a86c36e291d64e97f204 # Parent b2790fd23800da3e972b56d91d45fa74a8f0cae4 ensure quoted gnuplot binary diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2009-05-24 Benjamin Lindner + + * plot/__gnuplot_version__.m: quote gnuplot_binary to allow spaces + in file name + 2009-05-22 John W. Eaton * general/interp3.m: Don't require interpolation grid to have same diff --git a/scripts/plot/__gnuplot_version__.m b/scripts/plot/__gnuplot_version__.m --- a/scripts/plot/__gnuplot_version__.m +++ b/scripts/plot/__gnuplot_version__.m @@ -30,7 +30,7 @@ persistent __version__ = ""; if (isempty (__version__)) - [status, output] = system (sprintf ("%s --version", gnuplot_binary ())); + [status, output] = system (sprintf ("\"%s\" --version", gnuplot_binary ())); if (status != 0) ## This message ends in a newline so that the traceback messages ## are skipped and people might actually see the message, read it,