Skip to content

Commit 3ed99d9

Browse files
committed
which: windows: no need to append cwd as windows does automatically
1 parent 1ead7d9 commit 3ed99d9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

+stdlib/which.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@
3939
end
4040
fpath = fpath(strlength(fpath)>0);
4141

42-
if ispc
43-
% windows pwd priority, while unix ignores
44-
fpath = [pwd, fpath];
45-
end
46-
4742
for name = names
4843

4944
for p = fpath

0 commit comments

Comments
 (0)