summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen-mplus-patch.pl5
1 files changed, 3 insertions, 2 deletions
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);
}