author | wenzelm |
Thu, 28 Sep 2006 11:55:56 +0200 | |
changeset 20758 | 19be439e35f9 |
parent 20757 | fe84fe0dfd30 |
child 20759 | 1cd271a4fb12 |
--- a/lib/scripts/polyml-version Thu Sep 28 11:04:41 2006 +0200 +++ b/lib/scripts/polyml-version Thu Sep 28 11:55:56 2006 +0200 @@ -8,7 +8,8 @@ if [ -x "$ML_HOME/poly" ]; then if [ -x "$ML_HOME/polyimport" ]; then - "$ML_HOME/poly" -v | \ + env LD_LIBRARY_PATH="$ML_HOME:$ML_HOME/../lib:$LD_LIBRARY_PATH" \ + "$ML_HOME/poly" -v | \ sed -n 's,^Poly/ML.*RTS version: [^ ]*\(-[^ ]*\).*$,\1,p' else "$ML_HOME/poly" -noDisplay -r /dev/null | head -n 1 | \