aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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";