summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-07-28 15:52:23 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-07-28 15:52:23 +0000
commitf011a216cba783b0231f7f3adba96a140c9964ef (patch)
tree1605494306d5713c00aa6231067c0fd9943a4bee /eclass
parentKeyword ~mips, bug #428356 (diff)
downloadgentoo-2-f011a216cba783b0231f7f3adba96a140c9964ef.tar.gz
gentoo-2-f011a216cba783b0231f7f3adba96a140c9964ef.tar.bz2
gentoo-2-f011a216cba783b0231f7f3adba96a140c9964ef.zip
EAPI-4 related fix, properly check dirs existence
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/games.eclass4
2 files changed, 7 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index cf4a4af07965..ed2b786ac049 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.356 2012/07/26 16:14:47 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.357 2012/07/28 15:52:23 hasufell Exp $
+
+ 28 Jul 2012; Julian Ospald <hasufell@gentoo.org> games.eclass:
+ omg, we checked the dirs in ${S} instead of ${D} which accidentially
+ worked for some ebuilds (EAPI-4 related fix)
26 Jul 2012; Fabian Groffen <grobian@gentoo.org>
+ELT-patches/sol2-ltmain/2.4.2, libtool.eclass:
diff --git a/eclass/games.eclass b/eclass/games.eclass
index a87017faaac5..61bed9cb802a 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.149 2012/06/09 22:14:03 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.150 2012/07/28 15:52:23 hasufell Exp $
# devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org
#
@@ -93,7 +93,7 @@ prepgamesdirs() {
fperms 755 "${dir}"
for d in $(get_libdir) bin ; do
# check if dirs exist to avoid "nonfatal" option
- if [[ -e ${d} ]] ; then
+ if [[ -e ${D}/${dir}/${d} ]] ; then
fowners root:root "${dir}/${d}"
fperms 755 "${dir}/${d}"
fi