author | wenzelm |
Wed, 27 Sep 2006 23:41:12 +0200 | |
changeset 20748 | 4bcf492c6c9d |
parent 17419 | 16df5a5eef68 |
child 20758 | 19be439e35f9 |
permissions | -rwxr-xr-x |
#!/usr/bin/env bash # # $Id$ # # polyml-version --- determine Poly/ML runtime system version echo -n polyml if [ -x "$ML_HOME/poly" ]; then if [ -x "$ML_HOME/polyimport" ]; then "$ML_HOME/poly" -v | \ sed -n 's,^Poly/ML.*RTS version: [^ ]*\(-[^ ]*\).*$,\1,p' else "$ML_HOME/poly" -noDisplay -r /dev/null | head -n 1 | \ sed -n 's,^Poly/ML RTS version [^ ]*\(-[^ ]*\).*$,\1,p' fi fi