commit: 0b089c22561e9c1496adc03507ad8668b98ed902
Author: Chris Gianelloni <wolf31o2 <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 13 20:54:12 2008 +0000
Commit: Pavlos Ratis <dastergon <AT> gentoo <DOT> org>
CommitDate: Thu Mar 13 20:54:12 2008 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/games.git;a=commit;h=0b089c22
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}
'{}' \;
}