Fix automatic determination of poly version.
authorgagern
Wed, 20 Apr 2005 22:37:29 +0200
changeset 15785 ae6943098223
parent 15784 3a214de33d53
child 15786 81e9f17823ea
Fix automatic determination of poly version.
etc/settings
--- a/etc/settings	Wed Apr 20 19:00:30 2005 +0200
+++ b/etc/settings	Wed Apr 20 22:37:29 2005 +0200
@@ -34,7 +34,7 @@
   # Poly/ML 4.0, 4.1, 4.1.x
   # include version number, needed for choosing right options
   # If automatic setting doesn't work, use e.g. ML_VERSION=4.1.3
-  ML_VERSION=$(echo "OS.Process.exit OS.Process.success;" | /usr/bin/poly --version  | sed -n 's,Poly/ML[ ]*\([^ ]*\)[ ]*Release,\1,p')
+  ML_VERSION=$(echo "OS.Process.exit OS.Process.success;" | /usr/bin/poly --version  | sed -n 's,.*Poly/ML[ ]*\([^ ]*\)[ ]*Release,\1,p')
   ML_SYSTEM=polyml-${ML_VERSION}
   # processor/OS type
   ML_PLATFORM=x86-linux