comparison vext @ 1721:bf8a5ce8fb62 vext

Update vext; providers -> services
author Chris Cannam
date Wed, 28 Jun 2017 13:20:05 +0100
parents 434be2f0509e
children 669bd699082d
comparison
equal deleted inserted replaced
1720:3505d9536367 1721:bf8a5ce8fb62
16 # preference is based on startup speed. 16 # preference is based on startup speed.
17 17
18 if [ -z "$sml" ]; then 18 if [ -z "$sml" ]; then
19 if sml -h 2>&1 | grep -q 'Standard ML of New Jersey'; then 19 if sml -h 2>&1 | grep -q 'Standard ML of New Jersey'; then
20 sml="smlnj" 20 sml="smlnj"
21 # I think there may be a race condition in the poly interpreter's 21 # We would prefer Poly/ML to SML/NJ, except that Poly v5.7 has a
22 # tests for open or closed I/O streams - without the "echo" here, 22 # nasty bug that occasionally causes it to deadlock on startup.
23 # or with stderr redirection, this pipeline will sometimes hang 23 # That appears to be fixed in their repo, so we could promote it
24 # up the order again at some point in future
24 elif echo | poly -v 2>/dev/null | grep -q 'Poly/ML'; then 25 elif echo | poly -v 2>/dev/null | grep -q 'Poly/ML'; then
25 sml="poly" 26 sml="poly"
26 elif mlton 2>&1 | grep -q 'MLton'; then 27 elif mlton 2>&1 | grep -q 'MLton'; then
27 sml="mlton" 28 sml="mlton"
28 else cat 1>&2 <<EOF 29 else cat 1>&2 <<EOF