aboutsummaryrefslogtreecommitdiffstats
path: root/packdrake-pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-20 15:54:12 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-20 15:54:12 +0000
commit7bb571505fdd3267b7446e9642ba0d2235e50292 (patch)
treecfbee5eb738d340122a59b13f90850698b95b790 /packdrake-pm
parent53ff212a32c1730ba629bd203d4cfd27b289c2ee (diff)
downloadrpmtools-7bb571505fdd3267b7446e9642ba0d2235e50292.tar
rpmtools-7bb571505fdd3267b7446e9642ba0d2235e50292.tar.gz
rpmtools-7bb571505fdd3267b7446e9642ba0d2235e50292.tar.bz2
rpmtools-7bb571505fdd3267b7446e9642ba0d2235e50292.tar.xz
rpmtools-7bb571505fdd3267b7446e9642ba0d2235e50292.zip
4.5-8mdk4.5.8
Diffstat (limited to 'packdrake-pm')
-rw-r--r--packdrake-pm/packdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/packdrake-pm/packdrake.pm b/packdrake-pm/packdrake.pm
index 8e39f46..971f260 100644
--- a/packdrake-pm/packdrake.pm
+++ b/packdrake-pm/packdrake.pm
@@ -229,7 +229,7 @@ sub cat_compress {
}
close FILE;
}
- close F;
+ close F or die "packdrake: unable to compress data using \"$packer->{compress}\"\n";
-s $packer->{tmpz};
}
@@ -505,7 +505,7 @@ sub build_archive {
print OUTPUT $toc_str;
print OUTPUT $toc_data;
print OUTPUT build_toc_trailer($packer);
- close OUTPUT;
+ close OUTPUT or die "packdrake: unable to build toc trailer of $packer->{archive}\n";
unlink $packer->{tmpz};