changeset 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 579a21f74d6d
children b55189efd92a 51770116f835
files scripts/pkg/private/configure_make.m
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
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");