Mercurial > hg > octave-lojdl
changeset 9248:98034ebda172
ensure quoted gnuplot binary
author | Benjamin Lindner <lindnerb@users.sourceforge.net> |
---|---|
date | Sun, 24 May 2009 10:05:30 +0200 |
parents | b2790fd23800 |
children | 470af0f93ca9 |
files | scripts/ChangeLog scripts/plot/__gnuplot_version__.m |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2009-05-24 Benjamin Lindner <lindnerb@users.sourceforge.net> + + * plot/__gnuplot_version__.m: quote gnuplot_binary to allow spaces + in file name + 2009-05-22 John W. Eaton <jwe@octave.org> * general/interp3.m: Don't require interpolation grid to have same
--- 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,