Mercurial > hg > octave-avbm
changeset 11714:ed3315995d3c release-3-0-x
pkg.m: adapt to changes in isspace for cell arrays of strings.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Mon, 24 Mar 2008 18:25:09 -0400 |
parents | 8408a69f6b05 |
children | 86bbba911de8 |
files | scripts/ChangeLog scripts/pkg/pkg.m |
diffstat | 2 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,4 +1,9 @@ -2008-02-19 John W. Eaton <jwe@octave.org> +2008-03-24 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-24 John W. Eaton <jwe@octave.org> * pkg/pkg.m: Style fixes.
--- 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{:});