diff scripts/path/rmpath.m @ 5809:c794ed00d473

[project @ 2006-05-11 04:19:52 by jwe]
author jwe
date Thu, 11 May 2006 04:19:52 +0000
parents 296cefb48d7e
children 67bf9b4f2ae2
line wrap: on
line diff
--- a/scripts/path/rmpath.m
+++ b/scripts/path/rmpath.m
@@ -64,10 +64,10 @@
   endfor
 
   xpath{:,2} = psep;
+  xpath{end,2} = "";
   xpath = xpath';
 
   tmp = strcat (xpath{:});
-  tmp(end) = "";
 
   tmp = strrep (tmp, DEFAULT_LOADPATH (), "");