diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-11-17 22:29:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-11-17 22:29:25 +0000 |
commit | 5948158d276368cf5e949700f9f93b86793936d3 (patch) | |
tree | 96d79b75cb48b19f56f8b5c11275e2fac3324018 /eclass/games.eclass | |
parent | added prepgames (diff) | |
download | gentoo-2-5948158d276368cf5e949700f9f93b86793936d3.tar.gz gentoo-2-5948158d276368cf5e949700f9f93b86793936d3.tar.bz2 gentoo-2-5948158d276368cf5e949700f9f93b86793936d3.zip |
added prepgames
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r-- | eclass/games.eclass | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass index a9f6b6f749df..081b6ef571b3 100644 --- a/eclass/games.eclass +++ b/eclass/games.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.10 2002/11/17 22:26:26 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.11 2002/11/17 22:29:25 vapier Exp $ # devlist: {bass,phoenix,vapier}@gentoo.org # This is the games ebuild for standardizing the install of games ... @@ -70,12 +70,11 @@ dogameslib.so() { gameswrapper lib.so $@; } gamesowners() { chown ${GAMES_USER}.${GAMES_ROOT} $@; } gamesperms() { chmod ug+r,o-rwx $@; } prepgamesdirs() { - local GAMES_DIRS="${GAMES_PREFIX} ${GAMES_PREFIX_OPT} ${GAMES_DATADIR} \ - ${GAMES_SYSCONFDIR} ${GAMES_STATEDIR} ${GAMES_LIBDIR} \ - ${GAMES_BINDIR}" - - chown -R ${GAMES_USER}.${GAMES_ROOT} ${GAMES_DIRS} - chmod -R ug+r,o-rwx ${GAMES_DIRS} + for dir in ${GAMES_PREFIX} ${GAMES_PREFIX_OPT} ${GAMES_DATADIR} ${GAMES_SYSCONFDIR} \ + ${GAMES_STATEDIR} ${GAMES_LIBDIR} ${GAMES_BINDIR} ; do + chown -R ${GAMES_USER}.${GAMES_ROOT} ${dir}/* >& /dev/null & +# chmod -R ug+r,o-rwx ${GAMES_DIRS} + done } gamesenv() { |