summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-05 04:01:27 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-05 04:01:27 +0000
commitbde73ea48a14ce37d60967c659e40c326936a28c (patch)
treeed9a7e125f3da359c7a96d0dc1a846dc492ad612 /eclass
parentsupport an extra library path in the wrapper-maker (for doom3!) (diff)
downloadgentoo-2-bde73ea48a14ce37d60967c659e40c326936a28c.tar.gz
gentoo-2-bde73ea48a14ce37d60967c659e40c326936a28c.tar.bz2
gentoo-2-bde73ea48a14ce37d60967c659e40c326936a28c.zip
make sure we dont evaluate LD_LIBRARY_PATH too soon
Diffstat (limited to 'eclass')
-rw-r--r--eclass/games.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 34eb622c18a8..d418b274437d 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.76 2004/10/05 03:54:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.77 2004/10/05 04:01:27 vapier Exp $
#
# devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org
#
@@ -199,7 +199,7 @@ games_make_wrapper() {
cat << EOF > "${tmpwrapper}"
#!/bin/sh
cd "${chdir}"
-export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${libdir}"
+export LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}:${libdir}"
exec ${bin} "\$@"
EOF
chmod go+rx "${tmpwrapper}"