summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-05-01 14:14:44 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-01 14:14:44 +0900
commit373e4b091d954f619c0b14f99db536de97ce669e (patch)
tree7c47a5ecd9db0150b431fd8981b31a49de10a885
parentMerge branch 'jk/submodule-init-segv-fix' (diff)
parenttravis-ci: printf $STATUS as string (diff)
downloadtgif-373e4b091d954f619c0b14f99db536de97ce669e.tar.xz
Merge branch 'ls/travis-win-fix-status'
Relaying status from Windows build by Travis CI was done with an unsafe invocation of printf. * ls/travis-win-fix-status: travis-ci: printf $STATUS as string
-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