summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/scilab_octave.quit (renamed from etc/scilab_toolbox.quit)2
-rw-r--r--etc/scilab_octave.start (renamed from etc/scilab_toolbox.start)12
2 files changed, 7 insertions, 7 deletions
diff --git a/etc/scilab_toolbox.quit b/etc/scilab_octave.quit
index f3ee38e..6851b65 100644
--- a/etc/scilab_toolbox.quit
+++ b/etc/scilab_octave.quit
@@ -4,7 +4,7 @@
function quitModule()
- etc_tlbx = get_absolute_file_path("scilab_toolbox.quit");
+ etc_tlbx = get_absolute_file_path("scilab_octave.quit");
etc_tlbx = getshortpathname(etc_tlbx);
root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") );
diff --git a/etc/scilab_toolbox.start b/etc/scilab_octave.start
index d1fc447..05e3dd5 100644
--- a/etc/scilab_toolbox.start
+++ b/etc/scilab_octave.start
@@ -3,19 +3,19 @@
// This file is released under the 3-clause BSD license. See COPYING-BSD.
-function scilab_toolboxlib = startModule()
+function scilab_octavelib = startModule()
TOOLBOX_NAME = "scilab_octave";
TOOLBOX_TITLE = "scilab_octave";
mprintf("Start " + TOOLBOX_TITLE + "\n");
- if isdef("scilab_toolboxlib") then
- warning("scilab_toolbox library is already loaded");
+ if isdef("scilab_octavelib") then
+ warning("scilab_octave library is already loaded");
return;
end
- etc_tlbx = get_absolute_file_path("scilab_toolbox.start");
+ etc_tlbx = get_absolute_file_path("scilab_octave.start");
etc_tlbx = getshortpathname(etc_tlbx);
root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") );
@@ -23,7 +23,7 @@ function scilab_toolboxlib = startModule()
// =============================================================================
mprintf("\tLoad macros\n");
pathmacros = pathconvert( root_tlbx ) + "macros" + filesep();
- scilab_toolboxlib = lib(pathmacros);
+ scilab_octavelib = lib(pathmacros);
// load gateways and Java libraries
// =============================================================================
@@ -61,5 +61,5 @@ function scilab_toolboxlib = startModule()
endfunction
-scilab_toolboxlib = startModule();
+scilab_octavelib = startModule();
clear startModule; // remove startModule on stack