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 | 74976906f4094bdb67b1f899cc627300d041feda (patch) | |
tree | 8215da6da7ef6fecca198b27e7e87ecaeb6b6231 /eclass | |
parent | Bump version and fixed Deps #151953 (diff) | |
download | historical-74976906f4094bdb67b1f899cc627300d041feda.tar.gz historical-74976906f4094bdb67b1f899cc627300d041feda.tar.bz2 historical-74976906f4094bdb67b1f899cc627300d041feda.zip |
Apparently, -s is for size, -h is for symlink.
Diffstat (limited to '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} \ |