summaryrefslogtreecommitdiff
path: root/ci/run-windows-build.sh
diff options
context:
space:
mode:
authorLars Schneider <larsxschneider@gmail.com>2017-04-26 19:39:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-04-27 01:23:19 (GMT)
commitc4b4968397ca98112205c94fa3d70ae3aedbc475 (patch)
tree29716ddb7c5983583da631176fde5097970e0a13 /ci/run-windows-build.sh
parente2cb6ab84c94f147f1259260961513b40c36108a (diff)
downloadgit-c4b4968397ca98112205c94fa3d70ae3aedbc475.zip
git-c4b4968397ca98112205c94fa3d70ae3aedbc475.tar.gz
git-c4b4968397ca98112205c94fa3d70ae3aedbc475.tar.bz2
travis-ci: printf $STATUS as string
If the $STATUS variable contains a "%" character then printf will interpret that as invalid format string. Fix this by formatting $STATUS as string. Signed-off-by: Lars Schneider <larsxschneider@gmail.com> Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci/run-windows-build.sh')
-rwxr-xr-xci/run-windows-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/run-windows-build.sh b/ci/run-windows-build.sh
index 4e3a50b..e043440 100755
--- a/ci/run-windows-build.sh
+++ b/ci/run-windows-build.sh
@@ -55,7 +55,7 @@ while true
do
LAST_STATUS=$STATUS
STATUS=$(gfwci "action=status&buildId=$BUILD_ID")
- test "$STATUS" = "$LAST_STATUS" || printf "\nStatus: $STATUS "
+ test "$STATUS" = "$LAST_STATUS" || printf "\nStatus: %s " "$STATUS"
printf "."
case "$STATUS" in