diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2008-03-13 20:54:12 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2008-03-13 20:54:12 +0000 |
commit | 0b089c22561e9c1496adc03507ad8668b98ed902 (patch) | |
tree | acca798b79fbac22e8caa1ca38ce985acbd7deb8 | |
parent | Fix up GAMES_SCORES_GROUP definition. (diff) | |
download | games-0b089c22561e9c1496adc03507ad8668b98ed902.tar.gz games-0b089c22561e9c1496adc03507ad8668b98ed902.tar.bz2 games-0b089c22561e9c1496adc03507ad8668b98ed902.zip |
Change around the scores code a bit more.
svn path=/; revision=6
-rw-r--r-- | eclass/games.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass index bb1c8ba..3d5b1ff 100644 --- a/eclass/games.eclass +++ b/eclass/games.eclass @@ -106,10 +106,12 @@ prepgamesdirs() { if [[ -n ${GAMES_SCORES_FILES} ]] then perms=4750 - for dir in "${GAMES_STATEDIR}" "${GAMES_BINDIR}" + for f in ${GAMES_SCORES_FILES} do - GAMES_GROUP=${GAMES_SCORES_GROUP} gamesowners -R "${D}/${dir}" + GAMES_GROUP=${GAMES_SCORES_GROUP} gamesowners "${D}/${f}" done + GAMES_GROUP=${GAMES_SCORES_GROUP} gamesowners -R \ + "${D}/${GAMES_BINDIR}"i/* fi find "${D}/${GAMES_BINDIR}" -maxdepth 1 -type f -exec chmod ${perms} '{}' \; } |