--- trunk/opengl-update/opengl-update.sh 2007/11/14 18:16:28 619 +++ trunk/opengl-update/opengl-update.sh 2007/11/14 18:18:47 620 @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /home/cvsd/magellan-cvs/magellan-src/opengl-update/opengl-update.sh,v 1.4 2007-11-14 18:16:28 niro Exp $ +# $Header: /home/cvsd/magellan-cvs/magellan-src/opengl-update/opengl-update.sh,v 1.5 2007-11-14 18:18:47 niro Exp $ # Author: Martin Schlemmer # Further modifications by Donnie Berkholz # Further modifications based off submissions to bug #54984 @@ -367,7 +367,11 @@ done - echo "LDPATH=\"${ldpath}\"" > ${ENV_D} + local i + for i in $(echo ${ldpath} | sed "s:\::\ :g") + do + echo "LDPATH=\"${i}\"" >> ${ENV_D} + done echo "OPENGL_PROFILE=\"${GL_IMPLEM}\"" >> ${ENV_D} env-rebuild