Skip to content

Commit c4b4968

Browse files
larsxschneidergitster
authored andcommitted
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 <[email protected]> Acked-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e2cb6ab commit c4b4968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/run-windows-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ while true
5555
do
5656
LAST_STATUS=$STATUS
5757
STATUS=$(gfwci "action=status&buildId=$BUILD_ID")
58-
test "$STATUS" = "$LAST_STATUS" || printf "\nStatus: $STATUS "
58+
test "$STATUS" = "$LAST_STATUS" || printf "\nStatus: %s " "$STATUS"
5959
printf "."
6060

6161
case "$STATUS" in

0 commit comments

Comments
 (0)