From 0b089c22561e9c1496adc03507ad8668b98ed902 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Thu, 13 Mar 2008 20:54:12 +0000 Subject: Change around the scores code a bit more. svn path=/; revision=6 --- eclass/games.eclass | 6 ++++-- 1 file 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} '{}' \; } -- cgit v1.2.3-65-gdbad