lib/scripts/polyml-version
changeset 20758 19be439e35f9
parent 20748 4bcf492c6c9d
child 21652 3501b5a8a2c1
     1.1 --- a/lib/scripts/polyml-version	Thu Sep 28 11:04:41 2006 +0200
     1.2 +++ b/lib/scripts/polyml-version	Thu Sep 28 11:55:56 2006 +0200
     1.3 @@ -8,7 +8,8 @@
     1.4  
     1.5  if [ -x "$ML_HOME/poly" ]; then
     1.6    if [ -x "$ML_HOME/polyimport" ]; then
     1.7 -    "$ML_HOME/poly" -v | \
     1.8 +    env LD_LIBRARY_PATH="$ML_HOME:$ML_HOME/../lib:$LD_LIBRARY_PATH" \
     1.9 +      "$ML_HOME/poly" -v | \
    1.10        sed -n 's,^Poly/ML.*RTS version: [^ ]*\(-[^ ]*\).*$,\1,p'
    1.11    else
    1.12      "$ML_HOME/poly" -noDisplay -r /dev/null | head -n 1 | \