diff scripts/pkg/private/expand_rel_paths.m @ 28897:3cac3ceb9629

maint: Use coding style with parentheses after function name to distinguish from a variable. * audiorecorder.m, interp3.m, iscolormap.m, spinmap.m, expm.m, copyfile.m, delete.m, edit.m, inputParser.m, movefile.m, narginchk.m, nargoutchk.m, publish.m, tar.m, tempdir.m, ode23.m, ode23s.m, ode45.m, odeplot.m, sqp.m, matlabroot.m, savepath.m, expand_rel_paths.m, datetick.m, lighting.m, material.m, rticks.m, shading.m, thetaticks.m, view.m, xticklabels.m, xticks.m, yticklabels.m, yticks.m, zticklabels.m, zticks.m, colorbar.m, errorbar.m, hist.m, isocaps.m, light.m, line.m, patch.m, shrinkfaces.m, stairs.m, surface.m, allchild.m, ancestor.m, cla.m, clf.m, findobj.m, gca.m, hggroup.m, isgraphics.m, ishandle.m, print.m, struct2hdl.m, arch_rnd.m, speed.m, clock.m: Use parentheses '()' after function invocation to distinguish between a variable and a function.
author Rik <rik@octave.org>
date Sat, 10 Oct 2020 17:55:56 -0700
parents 9f9ac219896d
children d39b09b4c5db
line wrap: on
line diff
--- a/scripts/pkg/private/expand_rel_paths.m	Sat Oct 10 16:32:20 2020 -0700
+++ b/scripts/pkg/private/expand_rel_paths.m	Sat Oct 10 17:55:56 2020 -0700
@@ -26,7 +26,7 @@
 function pkg_list = expand_rel_paths (pkg_list)
 
   ## Prepend location of OCTAVE_HOME to install directories
-  loc = OCTAVE_HOME;
+  loc = OCTAVE_HOME ();
   for i = 1:numel (pkg_list)
     ## Be sure to only prepend OCTAVE_HOME to pertinent package paths
     if (strncmpi (pkg_list{i}.dir, "__OH__", 6))