summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-03-13 21:00:07 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-03-13 21:00:07 +0000
commit6d447c9da743fe71b845c17eddff2702a09fa1e2 (patch)
tree6966ef0dcc6bd3864fb3738d69d5bf298634ad33
parentChange around the scores code a bit more. (diff)
downloadgames-6d447c9da743fe71b845c17eddff2702a09fa1e2.tar.gz
games-6d447c9da743fe71b845c17eddff2702a09fa1e2.tar.bz2
games-6d447c9da743fe71b845c17eddff2702a09fa1e2.zip
Fix a typo and change to setgid instead of setuid. Oops.
svn path=/; revision=7
-rw-r--r--eclass/games.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 3d5b1ff..1e4b44b 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -105,13 +105,13 @@ prepgamesdirs() {
[[ -d ${D}/${GAMES_BINDIR} ]] || return 0
if [[ -n ${GAMES_SCORES_FILES} ]]
then
- perms=4750
+ perms=2750
for f in ${GAMES_SCORES_FILES}
do
GAMES_GROUP=${GAMES_SCORES_GROUP} gamesowners "${D}/${f}"
done
GAMES_GROUP=${GAMES_SCORES_GROUP} gamesowners -R \
- "${D}/${GAMES_BINDIR}"i/*
+ "${D}/${GAMES_BINDIR}"/*
fi
find "${D}/${GAMES_BINDIR}" -maxdepth 1 -type f -exec chmod ${perms} '{}' \;
}