toolbox_skeleton: fix isdir() typo on loaders 96/20896/2
Clément DAVID [Wed, 6 Mar 2019 13:59:56 +0000 (14:59 +0100)]
Change-Id: Ib371c3d3188b95255c4640433714bee0000e24c1

scilab/contrib/toolbox_skeleton/etc/toolbox_skeleton.start
scilab/contrib/xcos_toolbox_skeleton/etc/xcos_toolbox_skeleton.start
scilab/modules/modules_manager/etc/loader_template.sce

index 6ad227b..3080fbe 100644 (file)
@@ -43,7 +43,7 @@ function toolbox_skeletonlib = startModule()
   if or(getscilabmode() == ["NW";"STD"]) then
     mprintf("\tLoad help\n");
     path_addchapter = pathconvert(root_tlbx+"/jar");
-    if ( isdir(path_addchapter) <> [] ) then
+    if isdir(path_addchapter) then
       add_help_chapter(TOOLBOX_NAME, path_addchapter, %F);
     end
   end
index 027851c..f978a08 100644 (file)
@@ -62,7 +62,7 @@ function xcos_skeletonlib = startModule()
   if or(getscilabmode() == ["NW";"STD"]) then
     mprintf("\tLoad help\n");
     path_addchapter = pathconvert(root_tlbx+"/jar");
-    if ( isdir(path_addchapter) <> [] ) then
+    if isdir(path_addchapter) then
         add_help_chapter("Xcos toolbox skeleton", path_addchapter, %F);
     end
   end
index ad5619b..94aa56f 100644 (file)
@@ -47,7 +47,7 @@ function startModule(TOOLBOX_NAME, TOOLBOX_TITLE, VERBOSELevel)
     if isdir(root_tlbx + "/jar") && or(getscilabmode() == ["NW";"STD"])
         mprintf("\tLoad help\n");
         path_addchapter = pathconvert(root_tlbx+"/jar")
-        if ( isdir(path_addchapter) <> [] ) then
+        if isdir(path_addchapter) then
             add_help_chapter(TOOLBOX_NAME, path_addchapter, %F)
         end
     end