Mercurial > hg > octave-nkf
changeset 7548:9cbf1e2011a3
pkg.m: adapt to changes in isspace for cell arrays of strings.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Tue, 04 Mar 2008 14:16:16 -0500 |
parents | 40ca9fb9a314 |
children | ff9c2bb7abc7 |
files | scripts/ChangeLog scripts/pkg/pkg.m |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2008-03-04 Michael Goffioul <michael.goffioul@gmail.com> + + * pkg/pkg.m (pkg:configure_make): Make it work with recent changes in + isspace handling with cell arrays of strings. + 2008-03-04 Ben Abbott <bpabbott@mac.com> * polynomial/polyfit.m: Modified tests to respect a relative tolerance.
--- a/scripts/pkg/pkg.m +++ b/scripts/pkg/pkg.m @@ -1296,11 +1296,11 @@ archindependent = filenames (!idx); ## Copy the files - if (! all (isspace (filenames))) + if (! all (isspace ([filenames{:}]))) if (! exist (instdir, "dir")) mkdir (instdir); endif - if (! all (isspace (archindependent))) + if (! all (isspace ([archindependent{:}]))) if (verbose) printf ("copyfile"); printf (" %s", archindependent{:}); @@ -1312,7 +1312,7 @@ error ("Couldn't copy files from 'src' to 'inst': %s", output); endif endif - if (! all (isspace (archdependent))) + if (! all (isspace ([archdependent{:}]))) if (verbose) printf ("copyfile"); printf (" %s", archdependent{:});