summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-06-09 22:14:03 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-06-09 22:14:03 +0000
commit6c8007f19c996e5c1fe97f7afa46b9c59eb00434 (patch)
tree50f91ebe650da72dca05e60e6f8f7e5f7ac3255d /eclass
parentKeyword ~sparc-solaris, bug #379587. (diff)
downloadgentoo-2-6c8007f19c996e5c1fe97f7afa46b9c59eb00434.tar.gz
gentoo-2-6c8007f19c996e5c1fe97f7afa46b9c59eb00434.tar.bz2
gentoo-2-6c8007f19c996e5c1fe97f7afa46b9c59eb00434.zip
fix for games.eclass wrt bug #336626 #c21
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/games.eclass9
2 files changed, 10 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 016913ad6bd3..905cb3a99538 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.299 2012/06/09 10:01:19 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.300 2012/06/09 22:14:03 hasufell Exp $
+
+ 09 Jun 2012; Julian Ospald <hasufell@gentoo.org> games.eclass:
+ fix for games.eclass wrt bug #336626 #c21
09 Jun 2012; Marien Zwart <marienz@gentoo.org> python.eclass:
Add pypy-1.9 to the list of supported python ABIs.
diff --git a/eclass/games.eclass b/eclass/games.eclass
index e43c6bd184b2..a87017faaac5 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.148 2012/05/30 06:35:43 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.149 2012/06/09 22:14:03 hasufell Exp $
# devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org
#
@@ -92,8 +92,11 @@ prepgamesdirs() {
fowners root:root "${dir}"
fperms 755 "${dir}"
for d in $(get_libdir) bin ; do
- fowners root:root "${dir}/${d}"
- fperms 755 "${dir}/${d}"
+ # check if dirs exist to avoid "nonfatal" option
+ if [[ -e ${d} ]] ; then
+ fowners root:root "${dir}/${d}"
+ fperms 755 "${dir}/${d}"
+ fi
done
fi
) &>/dev/null