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
commit38401e12e577fda5b48e906bb2329ca09e078edf (patch)
tree90e5e947349c54566111c484d112154efa4e66c6 /eclass
parentKeyword ~sparc-solaris, bug #379587. (diff)
downloadhistorical-38401e12e577fda5b48e906bb2329ca09e078edf.tar.gz
historical-38401e12e577fda5b48e906bb2329ca09e078edf.tar.bz2
historical-38401e12e577fda5b48e906bb2329ca09e078edf.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