1 |
#!/bin/bash |
#!/bin/bash |
2 |
# Copyright 1999-2004 Gentoo Foundation |
# Copyright 1999-2004 Gentoo Foundation |
3 |
# Distributed under the terms of the GNU General Public License v2 |
# Distributed under the terms of the GNU General Public License v2 |
4 |
# $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 $ |
5 |
# Author: Martin Schlemmer <azarah@gentoo.org> |
# Author: Martin Schlemmer <azarah@gentoo.org> |
6 |
# Further modifications by Donnie Berkholz <spyderous@gentoo.org> |
# Further modifications by Donnie Berkholz <spyderous@gentoo.org> |
7 |
# Further modifications based off submissions to bug #54984 <cyfred@gentoo.org> |
# Further modifications based off submissions to bug #54984 <cyfred@gentoo.org> |
367 |
|
|
368 |
done |
done |
369 |
|
|
370 |
echo "LDPATH=\"${ldpath}\"" > ${ENV_D} |
local i |
371 |
|
for i in $(echo ${ldpath} | sed "s:\::\ :g") |
372 |
|
do |
373 |
|
echo "LDPATH=\"${i}\"" >> ${ENV_D} |
374 |
|
done |
375 |
echo "OPENGL_PROFILE=\"${GL_IMPLEM}\"" >> ${ENV_D} |
echo "OPENGL_PROFILE=\"${GL_IMPLEM}\"" >> ${ENV_D} |
376 |
|
|
377 |
env-rebuild |
env-rebuild |