summaryrefslogtreecommitdiffstats
path: root/scilab/modules/helptools
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2010-02-15 09:09:19 +0100
committerAllan CORNET <allan.cornet@scilab.org>2010-02-15 09:09:19 +0100
commit62949b598a9ee94f8b64915450b5413ad315b7c0 (patch)
tree04847ee90f9c70091ed884e988feedb408e2a1db /scilab/modules/helptools
parentf5864172d6ddbf491df69ee215c0c57d9193497c (diff)
downloadscilab-62949b598a9ee94f8b64915450b5413ad315b7c0.zip
scilab-62949b598a9ee94f8b64915450b5413ad315b7c0.tar.gz
fix test on directory
Diffstat (limited to 'scilab/modules/helptools')
-rw-r--r--scilab/modules/helptools/macros/help.sci7
1 files changed, 2 insertions, 5 deletions
diff --git a/scilab/modules/helptools/macros/help.sci b/scilab/modules/helptools/macros/help.sci
index c07de4771..044c7f4 100644
--- a/scilab/modules/helptools/macros/help.sci
+++ b/scilab/modules/helptools/macros/help.sci
@@ -17,7 +17,7 @@ else
17 key = ''; 17 key = '';
18end 18end
19 19
20if (fileinfo('SCI/modules/helptools/help') <> []) then 20if (findfiles('SCI/modules/helptools/jar','*_help.jar') <> []) then
21 21
22 if getscilabmode() <> "NWNI" then 22 if getscilabmode() <> "NWNI" then
23 23
@@ -49,10 +49,7 @@ if (fileinfo('SCI/modules/helptools/help') <> []) then
49 error(msprintf(gettext("%s: The help browser is disabled in %s mode.\n"), "help", getscilabmode())); 49 error(msprintf(gettext("%s: The help browser is disabled in %s mode.\n"), "help", getscilabmode()));
50 end 50 end
51else 51else
52 52 error(msprintf(gettext("%s: help file(.jar) is not installed.\n"), "help"));
53 error(msprintf(gettext("%s: help module is not installed.\n"), "help"));
54
55end 53end
56 54
57endfunction 55endfunction
58