diff options
author | Frans Pop <elendil@planet.nl> | 2010-02-07 14:15:44 +0000 |
---|---|---|
committer | Frans Pop <elendil@planet.nl> | 2010-02-07 14:15:44 +0000 |
commit | 99eb9ed032865bf80426dceee0b31b29e77ea2c1 (patch) | |
tree | 30ad6c959daf511021e70b8cacf30e5991365a55 /build | |
parent | 84775b3966b35de1e717d0b926520d05b52e8a9c (diff) | |
download | installation-guide-99eb9ed032865bf80426dceee0b31b29e77ea2c1.zip |
preseed.pl: support < and > entities
Diffstat (limited to 'build')
-rwxr-xr-x | build/preseed.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build/preseed.pl b/build/preseed.pl index 805a57667..d4ef6810b 100755 --- a/build/preseed.pl +++ b/build/preseed.pl @@ -67,8 +67,11 @@ $p->parse_file($xmlfile); sub replace_entities { my $text = shift; - $text =~ s/&archive-mirror;/http.us.debian.org/; - $text =~ s/&releasename;/$release/; + $text =~ s/&archive-mirror;/http.us.debian.org/g; + $text =~ s/&releasename;/$release/g; + $text =~ s/>/>/g; + $text =~ s/</</g; + # Any unrecognized entities? if ( $text =~ /(&[^ ]+;)/ ) { |