Mercurial > hg > octave-lojdl
changeset 12497:1536ed546219
Fix bug #32443 preventing 'pkg install' on Windows platforms.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Thu, 03 Mar 2011 09:29:04 -0800 |
parents | 245b5efb07c2 |
children | 294c0927c762 |
files | scripts/ChangeLog scripts/miscellaneous/movefile.m |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2010-03-03 Rik <octave@nomad.inbox5.com> + + * miscellaneous/movefile.m: Fix copy&paste bug affecting Windows + platform. (bug #32443) + 2010-03-02 Rik <octave@nomad.inbox5.com> * statistics/distributions/unidcdf.m,
--- a/scripts/miscellaneous/movefile.m +++ b/scripts/miscellaneous/movefile.m @@ -110,7 +110,7 @@ endwhile else if (ispc () && ! isunix () - && ! isempty (file_in_path (getenv_path ("PATH"), "cp.exe"))) + && ! isempty (file_in_path (getenv ("PATH"), "cp.exe"))) p1 = strrep (p1, "\\", "/"); p2 = strrep (p2, "\\", "/"); endif