Skip to content

Commit

Permalink
games.eclass: use group 0 to fix building on BSD systems #562262
Browse files Browse the repository at this point in the history
  • Loading branch information
vapier committed Oct 11, 2015
1 parent ab691b7 commit 22b6db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclass/games.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,14 @@ prepgamesdirs() {
find "${D}/${dir}" -type f -print0 | xargs -0 chmod $mode

# common trees should not be games owned #264872 #537580
fowners root:root "${dir}"
fowners root:0 "${dir}"
fperms 755 "${dir}"
if [[ ${dir} == "${GAMES_PREFIX}" \
|| ${dir} == "${GAMES_PREFIX_OPT}" ]] ; then
for d in $(get_libdir) bin ; do
# check if dirs exist to avoid "nonfatal" option
if [[ -e ${D}/${dir}/${d} ]] ; then
fowners root:root "${dir}/${d}"
fowners root:0 "${dir}/${d}"
fperms 755 "${dir}/${d}"
fi
done
Expand Down

0 comments on commit 22b6db8

Please sign in to comment.