summaryrefslogtreecommitdiffstats
path: root/urpm/xml_info.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-06 19:43:53 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-06 19:43:53 +0000
commitff72490e95713c7cd55790128c3f190eb12f0f30 (patch)
tree575c6f408701751709c7ff183eab97e2feeca172 /urpm/xml_info.pm
parent94ead5c886348823bab7f1c33abdb4bad368d7b2 (diff)
downloadurpmi-ff72490e95713c7cd55790128c3f190eb12f0f30.tar
urpmi-ff72490e95713c7cd55790128c3f190eb12f0f30.tar.gz
urpmi-ff72490e95713c7cd55790128c3f190eb12f0f30.tar.bz2
urpmi-ff72490e95713c7cd55790128c3f190eb12f0f30.tar.xz
urpmi-ff72490e95713c7cd55790128c3f190eb12f0f30.zip
(open_lzma) fix using xml info files with quotess in medium name (with
urpmf & urpmq) introduced in r232995 by pixel on 2008-01-15 ("fix using xml info files with spaces in medium name") (cautgh by perl_checker)
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;
}