Mercurial > hg > octave-nkf
comparison scripts/plot/private/__print_parse_opts__.m @ 15610:7ba5ff95467e stable
Add "gswin64c.exe" to the list of possible ghostscript command line programs
under windows.
* scripts/plot/private/__print_parse_opts__.m: Include "gswin64c.exe" when
looking for ghostscript.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Sun, 11 Nov 2012 14:38:14 -0500 |
parents | d174210ce1ec |
children | 773892abfd93 |
comparison
equal
deleted
inserted
replaced
15573:63d024333bee | 15610:7ba5ff95467e |
---|---|
445 if (isunix ()) | 445 if (isunix ()) |
446 ## Unix - Includes Mac OSX and Cygwin. | 446 ## Unix - Includes Mac OSX and Cygwin. |
447 gs_binaries = horzcat (gs_binaries, {"gs", "gs.exe"}); | 447 gs_binaries = horzcat (gs_binaries, {"gs", "gs.exe"}); |
448 else | 448 else |
449 ## pc - Includes Win32 and mingw. | 449 ## pc - Includes Win32 and mingw. |
450 gs_binaries = horzcat (gs_binaries, {"gs.exe", "gswin32c.exe", "mgs.exe"}); | 450 gs_binaries = horzcat (gs_binaries, {"gs.exe", "gswin32c.exe", "gswin64c.exe", "mgs.exe"}); |
451 endif | 451 endif |
452 n = 0; | 452 n = 0; |
453 while (n < numel (gs_binaries) && isempty (ghostscript_binary)) | 453 while (n < numel (gs_binaries) && isempty (ghostscript_binary)) |
454 n = n + 1; | 454 n = n + 1; |
455 ghostscript_binary = file_in_path (getenv ("PATH"), gs_binaries{n}); | 455 ghostscript_binary = file_in_path (getenv ("PATH"), gs_binaries{n}); |