summaryrefslogtreecommitdiff
path: root/2.3-1/help/cleaner_help.sce
diff options
context:
space:
mode:
authorAnkitr192017-07-04 15:33:41 +0530
committerAnkitr192017-07-04 15:33:41 +0530
commit46f9a6c3b848a549f5d92929fd6d1efb501e176a (patch)
tree0063bfdcb730f75e8cd4281d6f775791883c87d4 /2.3-1/help/cleaner_help.sce
parent5cfbe7196dd381f1e3f49f5673ce5c9291748364 (diff)
parentc66867c874436fb37ef54c67b048885ce094e894 (diff)
downloadScilab2C-46f9a6c3b848a549f5d92929fd6d1efb501e176a.tar.gz
Scilab2C-46f9a6c3b848a549f5d92929fd6d1efb501e176a.tar.bz2
Scilab2C-46f9a6c3b848a549f5d92929fd6d1efb501e176a.zip
New functions added and rpi issues resolved
Diffstat (limited to '2.3-1/help/cleaner_help.sce')
-rwxr-xr-x2.3-1/help/cleaner_help.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2.3-1/help/cleaner_help.sce b/2.3-1/help/cleaner_help.sce
new file mode 100755
index 00000000..a2b5e7ef
--- /dev/null
+++ b/2.3-1/help/cleaner_help.sce
@@ -0,0 +1,21 @@
+// This file is released under the 3-clause BSD license. See COPYING-BSD.
+
+function cleaner_help()
+ path = get_absolute_file_path("cleaner_help.sce");
+ langdirs = dir(path);
+ langdirs = langdirs.name(langdirs.isdir);
+
+ for l = 1:size(langdirs, "*")
+ masterfile = fullpath(path + filesep() + langdirs(l) + "/master_help.xml");
+ mdelete(masterfile);
+
+ jarfile = fullpath(path + "/../jar/scilab_" + langdirs(l) + "_help.jar");
+ mdelete(jarfile);
+
+ tmphtmldir = fullpath(path + "/" + langdirs(l) + "/scilab_" + langdirs(l) + "_help");
+ rmdir(tmphtmldir, "s");
+ end
+endfunction
+
+cleaner_help();
+clear cleaner_help;