# HG changeset patch # User jwe # Date 1147321192 0 # Node ID c794ed00d4733f2842f68cb22c53074a21c2d475 # Parent a18d85bdff316831ebab41be8f6aa020a7b36c92 [project @ 2006-05-11 04:19:52 by jwe] diff -r a18d85bdff31 -r c794ed00d473 scripts/ChangeLog --- a/scripts/ChangeLog Thu May 11 03:11:08 2006 +0000 +++ b/scripts/ChangeLog Thu May 11 04:19:52 2006 +0000 @@ -1,3 +1,7 @@ +2006-05-11 John W. Eaton + + * path/genpath.m: New file. + 2006-05-10 John W. Eaton * tar.m, untar.m, unzip.m: Adapt to Octave coding style. diff -r a18d85bdff31 -r c794ed00d473 scripts/path/addpath.m --- a/scripts/path/addpath.m Thu May 11 03:11:08 2006 +0000 +++ b/scripts/path/addpath.m Thu May 11 04:19:52 2006 +0000 @@ -98,10 +98,10 @@ endfor xpath{:,2} = psep; + xpath{end,2} = ""; xpath = xpath'; tmp = strcat (xpath{:}); - tmp(end) = ""; tmp = strrep (tmp, DEFAULT_LOADPATH (), ""); diff -r a18d85bdff31 -r c794ed00d473 scripts/path/rmpath.m --- a/scripts/path/rmpath.m Thu May 11 03:11:08 2006 +0000 +++ b/scripts/path/rmpath.m Thu May 11 04:19:52 2006 +0000 @@ -64,10 +64,10 @@ endfor xpath{:,2} = psep; + xpath{end,2} = ""; xpath = xpath'; tmp = strcat (xpath{:}); - tmp(end) = ""; tmp = strrep (tmp, DEFAULT_LOADPATH (), "");