summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-10 18:44:24 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-10 18:44:24 +0300
commitbc85e46f8b8a548379144732a3218bfe686f2f63 (patch)
tree1bbeff72fabdd5a789e1e750f69719f39ec6d315 /install
parent0acaefe57f32e2afffab13a988d8b29d3f6eb1aa (diff)
Squashed 'gitstatus/' changes from 32b7b674..6a4f0fc0
6a4f0fc0 add missing \n in error messages d2fd0166 update build instructions git-subtree-dir: gitstatus git-subtree-split: 6a4f0fc0cadc214bbe4051bf87d87033558aeed8
Diffstat (limited to 'install')
-rwxr-xr-xinstall4
1 files changed, 2 insertions, 2 deletions
diff --git a/install b/install
index 464ab821..f747015c 100755
--- a/install
+++ b/install
@@ -209,13 +209,13 @@ END
if command -v curl >/dev/null 2>&1; then
if ! err="$(command curl -fsSLo "$archive" -- "$url" 2>&1)"; then
>&2 echo "[gitstatus] error: failed to download gitstatusd: $url"
- >&2 printf "%s" "$err"
+ >&2 printf "%s\n" "$err"
return 1
fi
elif command -v wget >/dev/null 2>&1; then
if ! err="$(command wget -O "$archive" -- "$url" 2>&1)"; then
>&2 echo "[gitstatus] error: failed to download gitstatusd: $url"
- >&2 printf "%s" "$err"
+ >&2 printf "%s\n" "$err"
return 1
fi
else