diffcode

diffcode Svn Source Tree

Root/help/cleaner_help.sce

Source at commit HEAD created 3 years 8 months ago.
By baudin, Shortened messages printed at startup. (These verbose messages make the startup confusing when dozens of modules are loaded.)
1// This file is released under the 3-clause BSD license. See COPYING-BSD.
2
3function cleaner_help()
4 path = get_absolute_file_path("cleaner_help.sce");
5 langdirs = dir(path);
6 langdirs = langdirs.name(langdirs.isdir);
7
8 for l = 1:size(langdirs, "*")
9 masterfile = fullpath(path + filesep() + langdirs(l) + "/master_help.xml");
10 mdelete(masterfile);
11
12 jarfile = fullpath(path + "/../jar/scilab_" + langdirs(l) + "_help.jar");
13 mdelete(jarfile);
14
15 tmphtmldir = fullpath(path + "/" + langdirs(l) + "/scilab_" + langdirs(l) + "_help");
16 rmdir(tmphtmldir, "s");
17 end
18endfunction
19
20cleaner_help();
21clear cleaner_help;

Archive Download this file

Revision: HEAD