summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/build b/build
index 8ec83f8..b58f810 100755
--- a/build
+++ b/build
@@ -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