From e4c6f93340f3abe1f618e5f0ac2d0d2c3a75e33a Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 15 Jul 2019 01:07:15 -0400 Subject: scripts/gen-mplus-patch.pl: Fix Makefile newlines --- diff --git a/scripts/gen-mplus-patch.pl b/scripts/gen-mplus-patch.pl index 91b3613..a0ac868 100755 --- a/scripts/gen-mplus-patch.pl +++ b/scripts/gen-mplus-patch.pl @@ -167,8 +167,9 @@ sub patch_makefile sprintf('font-objs-$(CONFIG_FONT_MPLUS_%s_%s_%dx%d)', $face, $weight, $width, $height)); $len = $max_var_len - $len; - $inject .= sprintf('font-objs-$(CONFIG_FONT_MPLUS_%s_%s_%dx%d)' - . "%${len}s += font_mplus_%s_%s_%dx%d.o\n", + $inject .= sprintf("\n" . + 'font-objs-$(CONFIG_FONT_MPLUS_%s_%s_%dx%d)%' . $len . + 's += font_mplus_%s_%s_%dx%d.o', uc($face), uc($weight), $width, $height, '', $face, $weight, $width, $height); } -- cgit v0.9.1