diff options
-rwxr-xr-x | build | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -34,7 +34,8 @@ install: build "$$(printf '%s' "$${dist_motd_banner}")" \ >base-files.data/etc/motd; \ sed ':l; N; $$!bl; s/\([^\n]\)\n\([^\n]\)/\1 \2/g' src/etc/motd | \ - sed "$(script)" | fold -s -w 73 >>base-files.data/etc/motd; \ + sed "$(script)" | fold -s -w 73 | sed 's/[ \t]*$$//' \ + >>base-files.data/etc/motd; \ for file in /etc/issue; do \ sed "$(script)" "src/$${file}" >"base-files.data/$${file}"; \ done |