changeset 5809:c794ed00d473

[project @ 2006-05-11 04:19:52 by jwe]
author jwe
date Thu, 11 May 2006 04:19:52 +0000
parents a18d85bdff31
children 34010a1e9aea
files scripts/ChangeLog scripts/path/addpath.m scripts/path/rmpath.m
diffstat 3 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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  <jwe@octave.org>
+
+	* path/genpath.m: New file.
+
 2006-05-10  John W. Eaton  <jwe@octave.org>
 
 	* tar.m, untar.m, unzip.m: Adapt to Octave coding style.
--- 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 (), "");
 
--- 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 (), "");