summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2019-06-19 16:05:26 +0100
committerPeter Korsgaard <peter@korsgaard.com>2019-06-24 21:11:39 +0200
commit307e74985829e4dc4c0bc3abc13d24236d09d703 (patch)
treec082c5345e896230f18d3ce5052a31c37e90bf0b
parent05626b340a43a0249f248bb048e5400830430033 (diff)
support/download/git: fix formatting of error message
'.' should be at the end of the sentence, not the beginning of a new line. Signed-off-by: John Keeping <john@metanate.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 8dd1a41630fff72638b7942c926c2f50095ab0d6) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rwxr-xr-xsupport/download/git2
1 files changed, 1 insertions, 1 deletions
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