Mercurial > octave
changeset 27632:2f38c2681b3e
fix incorrect path separator in __ghostscript__ command strings (bug #49718)
* __ghostscript__.m: Delete incorrect path separator replacement on non-Windows
systems.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Mon, 04 Nov 2019 12:22:23 -0800 |
parents | 688e8fb3caa9 |
children | fd009322dd9f |
files | scripts/plot/util/private/__ghostscript__.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/private/__ghostscript__.m Mon Nov 04 14:26:11 2019 -0500 +++ b/scripts/plot/util/private/__ghostscript__.m Mon Nov 04 12:22:23 2019 -0800 @@ -126,7 +126,7 @@ if (dos_shell) cleanup_cmd = sprintf ('del "%s"', strrep (offsetfile, '/', '\')); else - cleanup_cmd = sprintf ('rm "%s"', strrep (offsetfile, '/', '\')); + cleanup_cmd = sprintf ('rm "%s"', offsetfile); endif endif unwind_protect