From c4b4968397ca98112205c94fa3d70ae3aedbc475 Mon Sep 17 00:00:00 2001 From: Lars Schneider Date: Wed, 26 Apr 2017 21:39:33 +0200 Subject: 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 Acked-by: Johannes Schindelin Signed-off-by: Junio C Hamano 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 -- cgit v0.10.2-6-g49f6