summaryrefslogtreecommitdiffstats
path: root/urpm/xml_info.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/xml_info.pm')
-rw-r--r--urpm/xml_info.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/xml_info.pm b/urpm/xml_info.pm
index 58858491..74869957 100644
--- a/urpm/xml_info.pm
+++ b/urpm/xml_info.pm
@@ -23,7 +23,7 @@ sub do_something_with_nodes {
sub open_lzma {
my ($xml_info_file) = @_;
- $xml_info_file =~ s/'/\'/g;
+ $xml_info_file =~ s/'/'\\''/g;
open(my $F, "lzma -dc '$xml_info_file' |");
$F;
}