Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ls/travis-win-fix-status'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 1 May 2017 05:14:44 +0000
(14:14 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 1 May 2017 05:14:44 +0000
(14:14 +0900)
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
ci/run-windows-build.sh
patch
|
blob
|
history
raw
(from parent 1:
d92dbf1
)
diff --git
a/ci/run-windows-build.sh
b/ci/run-windows-build.sh
index 4e3a50b60ee5e1b1dd5ccd9d135b7065f2af04db..e0434407996b75d1f88b55062b7f0a23db098bed 100755
(executable)
--- 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