Skip to content

Commit c1ecfc9

Browse files
yasirronirdzman
authored andcommitted
exclude . from oldpaths
1 parent a8b07b6 commit c1ecfc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install_matpower.m

+1
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@
284284

285285
%% remove old paths
286286
if rm_oldpaths
287+
oldpaths = oldpaths(~strcmp(oldpaths, '.'));
287288
rmpath(oldpaths{:});
288289
if verbose
289290
fprintf(div_line);

0 commit comments

Comments
 (0)