Mercurial > octave
diff scripts/pkg/private/configure_make.m @ 30629:2a234181057b stable
pkg: Use octave binary on all platforms.
* scripts/pkg/private/configure_make.m: Use octave binary (instead of batch
script) on Windows.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 11 Jan 2022 19:24:47 +0100 |
parents | 796f54d4ddbf |
children | a6dfda8450d6 |
line wrap: on
line diff
--- a/scripts/pkg/private/configure_make.m Tue Jan 11 07:54:36 2022 -0800 +++ b/scripts/pkg/private/configure_make.m Tue Jan 11 19:24:47 2022 +0100 @@ -40,11 +40,7 @@ sprintf ("mkoctfile-%s%s", ver, ext)); octave_config_program = fullfile (octave_bindir, ... sprintf ("octave-config-%s%s", ver, ext)); - if (ispc () && ! isunix ()) - octave_binary = fullfile (octave_bindir, sprintf ("octave-%s.bat", ver)); - else - octave_binary = fullfile (octave_bindir, sprintf ("octave-%s%s", ver, ext)); - endif + octave_binary = fullfile (octave_bindir, sprintf ("octave-%s%s", ver, ext)); if (! exist (mkoctfile_program, "file")) __gripe_missing_component__ ("pkg", "mkoctfile");