summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-12-12 10:08:41 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-12-12 10:12:20 +0100
commit8f904fa664b953e2f81759dd7597067c8a0a7242 (patch)
tree124d48fde3cdb61ec9d01afa98b2dc136075c592
parent9593f48197d8c191db62939e8253d7cf26b3dea7 (diff)
downloaddrakx-8f904fa664b953e2f81759dd7597067c8a0a7242.tar
drakx-8f904fa664b953e2f81759dd7597067c8a0a7242.tar.gz
drakx-8f904fa664b953e2f81759dd7597067c8a0a7242.tar.bz2
drakx-8f904fa664b953e2f81759dd7597067c8a0a7242.tar.xz
drakx-8f904fa664b953e2f81759dd7597067c8a0a7242.zip
make sure we won't again lost the special char
The ascii 15 (<SI>) special character in syslinux color codes is regularly lost b/c of some commands (eg: diff/patch), which broke color codes in syslinux (mga#18316). Just use chr() so that it'll never happen again
-rwxr-xr-ximages/make_boot_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index 91ce33d57..82cd9c27b 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -68,7 +68,7 @@ foreach my $img (@images) {
# The ascii 15 / Shift In / ^O character before the 0 should not be removed
sub syslinux_color {
- "0" . {
+ chr(15) . "0" . {
default => '7',
blue => '9',
green => 'a',