[Buildroot] [git commit branch/2019.02.x] support/download/git: fix formatting of error message

Peter Korsgaard peter at korsgaard.com
Mon Jun 24 19:11:26 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=3ebf356935b37e8f6c7b9f08d5273571a2c2ab5f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.02.x

'.' should be at the end of the sentence, not the beginning of a new
line.

Signed-off-by: John Keeping <john at metanate.com>
Cc: Yann E. MORIN <yann.morin.1998 at free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 8dd1a41630fff72638b7942c926c2f50095ab0d6)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 support/download/git | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/download/git b/support/download/git
index 17ca04eb98..075f665bbf 100755
--- a/support/download/git
+++ b/support/download/git
@@ -130,7 +130,7 @@ fi
 # scratch won't help, so we don't want to trash the repository for a
 # missing commit. We just exit without going through the ERR trap.
 if ! _git rev-parse --quiet --verify "'${cset}^{commit}'" >/dev/null 2>&1; then
-    printf "Commit '%s' does not exist in this repository\n." "${cset}"
+    printf "Commit '%s' does not exist in this repository.\n" "${cset}"
     exit 1
 fi
 


More information about the buildroot mailing list