# HG changeset patch # User Markus Mützel # Date 1641925487 -3600 # Node ID 2a234181057be77ba4def4df19fa8bee0c22e954 # Parent 579a21f74d6d47dad965fb51ea789cec8c01487d pkg: Use octave binary on all platforms. * scripts/pkg/private/configure_make.m: Use octave binary (instead of batch script) on Windows. diff -r 579a21f74d6d -r 2a234181057b scripts/pkg/private/configure_make.m --- 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");