aboutsummaryrefslogtreecommitdiffstats
path: root/extract_archive
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 /extract_archive
parenteb495f2a22300c8e821f3d171033f0f6d3bfbf06 (diff)
downloadrpmtools-35985dc620eb38a6f7f028617cea43d48268a777.tar
rpmtools-35985dc620eb38a6f7f028617cea43d48268a777.tar.gz
rpmtools-35985dc620eb38a6f7f028617cea43d48268a777.tar.bz2
rpmtools-35985dc620eb38a6f7f028617cea43d48268a777.tar.xz
rpmtools-35985dc620eb38a6f7f028617cea43d48268a777.zip
*** empty log message ***
Diffstat (limited to 'extract_archive')
-rwxr-xr-xextract_archive6
1 files changed, 3 insertions, 3 deletions
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";