octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44186] print command gives incorrect postscri


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #44186] print command gives incorrect postscript file
Date: Sat, 07 Feb 2015 07:33:33 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.94 Safari/537.36

Follow-up Comment #11, bug #44186 (project octave):


answer to comment #9:
dos_shell is evaluating to "true".
The problem is in  __ghostscript__.m.
In lines 150-154

   if (isempty (cleanup_cmd))
      cleanup_cmd = sprintf ("rm %s", opts.prepend);
    else
      cleanup_cmd = sprintf ("%s ; rm %s", cleanup_cmd, opts.prepend);
    endif

the cleanup_cmd always uses "rm" without checking if it is unix or dos. It
works well becuase MXE-octave has rm.exe in the bin directory.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44186>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]