Skip to content

Commit

Permalink
removed ':' removal from win-paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sin-mike committed Feb 28, 2016
1 parent cf4342e commit 2c33353
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mpmInstallDir.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@
if ~exist('MPM_INSTALL_DIR', 'var')
error('MPM_INSTALL_DIR was not defined in config.m');
end
MPM_INSTALL_DIR = strrep(MPM_INSTALL_DIR, ':', '');
if ispc
% do nothing
else
MPM_INSTALL_DIR = strrep(MPM_INSTALL_DIR, ':', '');
end
end

0 comments on commit 2c33353

Please sign in to comment.