[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 diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -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
+++ b/scripts/pkg/pkg.m
@@ -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};