diff options
| author | Tomi Ollila <tomi.ollila@iki.fi> | 2022-02-21 00:30:45 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-02-21 09:36:39 -0400 |
| commit | 08da7f25e5ebf6536002c9a544d687a1d28aea3e (patch) | |
| tree | ef06e62e06dcead57cc24e6deb7ed8fdf98c9a5f /Makefile.local | |
| parent | 999706c4d506f77fcef2a3d5d1c6bfe65c8db791 (diff) | |
removed use of 'echo -n' (and echo -n -e ...)
In most cases used printf %s ... instead.
echo -n > file lines to create empty / truncate files were
changed to : > file lines, like done in in test-lib-emacs.sh
And one echo -n " " replaced with use of sed "s/^/ /" in next line.
Diffstat (limited to 'Makefile.local')
| -rw-r--r-- | Makefile.local | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.local b/Makefile.local index 10fb9908..8fb94b58 100644 --- a/Makefile.local +++ b/Makefile.local @@ -120,8 +120,7 @@ release-message: @echo "Which can be verified with:" @echo "" @echo " $(RELEASE_URL)/$(SHA256_FILE)" - @echo -n " " - @cat releases/$(SHA256_FILE) + @sed "s/^/ /" releases/$(SHA256_FILE) @echo "" @echo " $(RELEASE_URL)/$(DETACHED_SIG_FILE)" @echo " (signed by `getent passwd "$$USER" | cut -d: -f 5 | cut -d, -f 1`)" @@ -169,7 +168,7 @@ release-checks: .PHONY: verify-newer verify-newer: - @echo -n "Checking that no $(VERSION) release already exists..." + @printf %s "Checking that no $(VERSION) release already exists..." @wget -q --no-check-certificate -O /dev/null $(RELEASE_URL)/$(TAR_FILE) ; \ case $$? in \ 8) echo "Good." ;; \ |
