diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-11-21 22:35:22 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-11-21 22:35:22 +0000 |
commit | 64557e16b13e96c63dbc0f7f0a2b05ee7d785158 (patch) | |
tree | 690af8916e6046e03917ba0fc6b34ebc2bb9afe7 /eclass/games-mods.eclass | |
parent | Bump version and fixed Deps #151953 (diff) | |
download | gentoo-2-64557e16b13e96c63dbc0f7f0a2b05ee7d785158.tar.gz gentoo-2-64557e16b13e96c63dbc0f7f0a2b05ee7d785158.tar.bz2 gentoo-2-64557e16b13e96c63dbc0f7f0a2b05ee7d785158.zip |
Apparently, -s is for size, -h is for symlink.
Diffstat (limited to 'eclass/games-mods.eclass')
-rw-r--r-- | eclass/games-mods.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/games-mods.eclass b/eclass/games-mods.eclass index d4dfebd201d2..fe2674f4ead9 100644 --- a/eclass/games-mods.eclass +++ b/eclass/games-mods.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.9 2006/11/10 17:04:55 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.10 2006/11/21 22:35:22 wolf31o2 Exp $ # Variables to specify in an ebuild which uses this eclass: # GAME - (doom3, quake4 or ut2004, etc), unless ${PN} starts with e.g. "doom3-" @@ -325,7 +325,7 @@ games-mods_src_install() { directories=$(cd "${D}"/"${INS_DIR}";find . -maxdepth 1 -type d -printf '%P ') for i in ${directories} do - if [ -s "${GAMES_PREFIX_OPT}"/"${GAME}"/${i} ] + if [ -h "${GAMES_PREFIX_OPT}"/"${GAME}"/${i} ] then # Skip this directory, and just run a symlink dosym "${INS_DIR}"/${i} \ |