# HG changeset patch # User Michael Goffioul # Date 1204658176 18000 # Node ID 9cbf1e2011a3db20aa66b159c7ab3d92c10a4c83 # Parent 40ca9fb9a3143ebd1f0b822cd28547f269b24c1a pkg.m: adapt to changes in isspace for cell arrays of strings. diff -r 40ca9fb9a314 -r 9cbf1e2011a3 scripts/ChangeLog --- a/scripts/ChangeLog Tue Mar 04 14:02:53 2008 -0500 +++ b/scripts/ChangeLog Tue Mar 04 14:16:16 2008 -0500 @@ -1,3 +1,8 @@ +2008-03-04 Michael Goffioul + + * 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 * polynomial/polyfit.m: Modified tests to respect a relative tolerance. diff -r 40ca9fb9a314 -r 9cbf1e2011a3 scripts/pkg/pkg.m --- a/scripts/pkg/pkg.m Tue Mar 04 14:02:53 2008 -0500 +++ b/scripts/pkg/pkg.m Tue Mar 04 14:16:16 2008 -0500 @@ -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{:});