Modify Jenkins scripts to enable babysitter script on Cygwin
authorAndi McClure <andi.mcclure@xamarin.com>
Thu, 1 Dec 2016 19:08:25 +0000 (14:08 -0500)
committerAndi McClure <andi.mcclure@xamarin.com>
Thu, 1 Dec 2016 19:08:25 +0000 (14:08 -0500)
scripts/ci/run-step.sh

index 115ee123566373f97dc378dac92fd986d3c2d286..4ea5fbc4c3a3e3593a5fc7c84782901ea32fe587 100755 (executable)
@@ -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