summaryrefslogtreecommitdiff
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/games.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/games.eclass')
-rw-r--r--eclass/games.eclass4
1 files changed, 2 insertions, 2 deletions
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