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>

Lars Schneider committed Apr 26, 2017 at 21:39 UTC c4b4968397ca98112205c94fa3d70ae3aedbc475
1 file changed +1 -1
ci/run-windows-build.sh
+1 -1
@@ -55,7 +55,7 @@ while true
55 do
56 LAST_STATUS=$STATUS
57 STATUS=$(gfwci "action=status&buildId=$BUILD_ID")
58 - test "$STATUS" = "$LAST_STATUS" || printf "\nStatus: $STATUS "
58 + test "$STATUS" = "$LAST_STATUS" || printf "\nStatus: %s " "$STATUS"
59 printf "."
60
61 case "$STATUS" in