]> git.plutz.net Git - blast/commitdiff
keep line breaks when writing files
authorPaul Hänsch <paul@plutz.net>
Sat, 20 Jul 2019 11:03:42 +0000 (13:03 +0200)
committerPaul Hänsch <paul@plutz.net>
Sat, 20 Jul 2019 11:03:42 +0000 (13:03 +0200)
modules/display_ws5inch.mk

index 49b27b753907153b9e8283f6b6c9f6a34a392ef0..c34ea702376a8d051241785a81b26ce2a90caf18 100644 (file)
@@ -28,6 +28,6 @@ PACKAGES += xserver-xorg-input-evdev xinput xinput-calibrator
 .PHONY: _display_ws5inch
 _config: _display_ws5inch
 _display_ws5inch: ${CFGROOT} _copy _mount
-       printf %s "$${display_ws5inch_boot}" >>"$${CFGROOT}/boot/config.txt"
+       printf '%s\n' "$${display_ws5inch_boot}" >>"$${CFGROOT}/boot/config.txt"
        mkdir -p "$${CFGROOT}/usr/share/X11/xorg.conf.d/"
-       printf %s "$${display_ws5inch_cfg}" >"$${CFGROOT}/usr/share/X11/xorg.conf.d/45-evdev.conf"
+       printf '%s\n' "$${display_ws5inch_cfg}" >"$${CFGROOT}/usr/share/X11/xorg.conf.d/45-evdev.conf"