Description: Call the octave binaries by their name without version
Forwarded: not-needed
Author: Thomas Weber <tweber@debian.org>
--- a/scripts/pkg/pkg.m
+++ b/scripts/pkg/pkg.m
@@ -1341,10 +1341,9 @@
   if (exist (fullfile (packdir, "src"), "dir"))
     src = fullfile (packdir, "src");
     octave_bindir = octave_config_info ("bindir");
-    ver = version ();
-    mkoctfile = fullfile (octave_bindir, sprintf ("mkoctfile-%s", ver));
-    octave_config = fullfile (octave_bindir, sprintf ("octave-config-%s", ver));
-    octave_binary = fullfile (octave_bindir, sprintf ("octave-%s", ver));
+    mkoctfile = fullfile (octave_bindir, "mkoctfile");
+    octave_config = fullfile (octave_bindir, "octave-config");
+    octave_binary = fullfile (octave_bindir, "octave");
     cenv = {"MKOCTFILE"; mkoctfile;
             "OCTAVE_CONFIG"; octave_config;
             "OCTAVE"; octave_binary;
