aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-04-04 11:14:33 +0000
committerFrancois Pons <fpons@mandriva.com>2000-04-04 11:14:33 +0000
commit35985dc620eb38a6f7f028617cea43d48268a777 (patch)
tree4411589e5e67e79c15d86cfb455a3246305969a8
parenteb495f2a22300c8e821f3d171033f0f6d3bfbf06 (diff)
downloadrpmtools-35985dc620eb38a6f7f028617cea43d48268a777.tar
rpmtools-35985dc620eb38a6f7f028617cea43d48268a777.tar.gz
rpmtools-35985dc620eb38a6f7f028617cea43d48268a777.tar.bz2
rpmtools-35985dc620eb38a6f7f028617cea43d48268a777.tar.xz
rpmtools-35985dc620eb38a6f7f028617cea43d48268a777.zip
*** empty log message ***
-rw-r--r--ChangeLog5
-rwxr-xr-xextract_archive6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 969624a..b10643b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-04 François Pons <fpons@mandrakesoft.com>
+
+ * extract_archive: allow bad file in filelist, print error but continue.
+
2000-03-31 François Pons <fpons@mandrakesoft.com>
* genfilelist: new tool to build a filelist from a RPMS repository.
@@ -5,6 +9,7 @@
2000-03-28 Pixel <pixel@mandrakesoft.com>
* gendepslist2.cc: fix silly bug
+
2000-03-26 Pixel <pixel@mandrakesoft.com>
* gendepslist2.cc: add ability to handle files (was only
diff --git a/extract_archive b/extract_archive
index cdd98da..7bee205 100755
--- a/extract_archive
+++ b/extract_archive
@@ -197,10 +197,10 @@ sub main {
#- compute closure.
@file = compute_closure(@file);
- #- check all file given are in the archive before continuing.
- foreach (@file) { $data{$_} or die "unable to find file $_ in archive $archivename\n"; }
-
foreach my $file (@file) {
+ #- check for presence of file, but do not abort, continue with others.
+ $data{$_} or print STDERR "unable to find file $_ in archive $archivename\n";
+
my $newfile = "$dir/$file";
print "extracting $file\n";