changeset 6234:48444662e9ae

[project @ 2007-01-09 17:12:52 by jwe]
author jwe
date Tue, 09 Jan 2007 17:12:52 +0000
parents a299c8a6d96e
children 9ff5a6936031
files scripts/ChangeLog scripts/pkg/pkg.m
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Jan 09 04:33:46 2007 +0000
+++ b/scripts/ChangeLog	Tue Jan 09 17:12:52 2007 +0000
@@ -1,3 +1,7 @@
+2007-01-09  Søren Hauberg  <hauberg@gmail.com>
+
+         * pkg/pkg.m: Allow filenames to contain glob patterns.
+
 2007-01-08  Søren Hauberg  <hauberg@gmail.com>
 
 	* pkg/pkg.m: Use copyfile instead of calling system.  Use fullfile
--- a/scripts/pkg/pkg.m	Tue Jan 09 04:33:46 2007 +0000
+++ b/scripts/pkg/pkg.m	Tue Jan 09 17:12:52 2007 +0000
@@ -245,6 +245,7 @@
     tmpdirs = packdirs = descriptions = {};
     try
         ## Unpack the package files and read the DESCRIPTION files
+        files = glob(files);
         packages_to_uninstall = [];
         for i = 1:length(files)
             tgz = files{i};