projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4769e
)
Modify Jenkins scripts to enable babysitter script on Cygwin
author
Andi McClure
<andi.mcclure@xamarin.com>
Thu, 1 Dec 2016 19:08:25 +0000
(14:08 -0500)
committer
Andi McClure
<andi.mcclure@xamarin.com>
Thu, 1 Dec 2016 19:08:25 +0000
(14:08 -0500)
scripts/ci/run-step.sh
patch
|
blob
|
history
diff --git
a/scripts/ci/run-step.sh
b/scripts/ci/run-step.sh
index 115ee123566373f97dc378dac92fd986d3c2d286..4ea5fbc4c3a3e3593a5fc7c84782901ea32fe587 100755
(executable)
--- a/
scripts/ci/run-step.sh
+++ b/
scripts/ci/run-step.sh
@@
-1,6
+1,6
@@
#!/bin/bash -e
TIMEOUTCMD=`dirname "${BASH_SOURCE[0]}"`/babysitter
-if
[[ "$OSTYPE" == "cygwin" ]] ||
! ${TIMEOUTCMD} -h >/dev/null 2>&1; then
+if ! ${TIMEOUTCMD} -h >/dev/null 2>&1; then
TIMEOUTCMD=timeout # fall back to timeout if babysitter doesn't work (e.g. python not installed or wrong version)
fi