summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLibravatar Lars Schneider <larsxschneider@gmail.com>2017-04-26 21:39:33 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-04-26 18:23:19 -0700
commitc4b4968397ca98112205c94fa3d70ae3aedbc475 (patch)
tree29716ddb7c5983583da631176fde5097970e0a13 /ci
parentGetting ready for -rc1 (diff)
downloadtgif-c4b4968397ca98112205c94fa3d70ae3aedbc475.tar.xz
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')
-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 4e3a50b60e..e043440799 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