diff --git a/mpmInstallDir.m b/mpmInstallDir.m index c15161f..12b6efb 100644 --- a/mpmInstallDir.m +++ b/mpmInstallDir.m @@ -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