Diff of /inst/generate_package_html.m [6522c0] .. [7c13b4]  Maximize  Restore

Switch to side-by-side view

--- a/inst/generate_package_html.m
+++ b/inst/generate_package_html.m
@@ -74,7 +74,7 @@
   endif
   
   if (isempty (outdir))
-    outdir = name;
+    outdir = packname;
   elseif (!ischar (outdir))
     error ("generate_package_html: second input argument must be a string");
   endif
@@ -84,12 +84,12 @@
     mkdir (outdir);
   endif
 
-  packdir = fullfile (outdir, name);
+  packdir = fullfile (outdir, packname);
   if (!exist (packdir, "dir"))
     mkdir (packdir);
   endif
 
-  [local_fundir, fundir] = mk_function_dir (packdir, name, options);
+  [local_fundir, fundir] = mk_function_dir (packdir, packname, options);
   
   ## If options is a string, call get_html_options
   if (ischar (options))