aboutsummaryrefslogtreecommitdiffstats
path: root/packdrake.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-01-16 16:40:23 +0000
committerFrancois Pons <fpons@mandriva.com>2001-01-16 16:40:23 +0000
commit04d1bdae703880e4feaa09e3332532bd72dab6f9 (patch)
tree216bb898a5b21226e44cba3413f063809b335a8f /packdrake.pm
parent0679f11fe6ad987d65afa871e885205b80a07c73 (diff)
downloadrpmtools-04d1bdae703880e4feaa09e3332532bd72dab6f9.tar
rpmtools-04d1bdae703880e4feaa09e3332532bd72dab6f9.tar.gz
rpmtools-04d1bdae703880e4feaa09e3332532bd72dab6f9.tar.bz2
rpmtools-04d1bdae703880e4feaa09e3332532bd72dab6f9.tar.xz
rpmtools-04d1bdae703880e4feaa09e3332532bd72dab6f9.zip
fixed use of white space in archive name.
Diffstat (limited to 'packdrake.pm')
-rw-r--r--packdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/packdrake.pm b/packdrake.pm
index 97d004f..7bd57f4 100644
--- a/packdrake.pm
+++ b/packdrake.pm
@@ -446,7 +446,7 @@ sub build_archive {
$packer->{data}{$_} = [ 'f', $off1, $siz1, $packer->{data}{$_}[3], $packer->{data}{$_}[4] ];
}
- system "cat $packer->{tmpz} >>$packer->{archive}";
+ system "cat '$packer->{tmpz}' >>'$packer->{archive}'";
$off1 += $siz1;
$off2 = 0; $siz2 = 0;
@filelist = ();
@@ -461,7 +461,7 @@ sub build_archive {
$packer->{data}{$_} = [ 'f', $off1, $siz1, $packer->{data}{$_}[3], $packer->{data}{$_}[4] ];
}
- system "cat $packer->{tmpz} >>$packer->{archive}";
+ system "cat '$packer->{tmpz}' >>'$packer->{archive}'";
$off1 += $siz1;
}
print STDERR "real archive size of $packer->{archive} is $off1\n";