summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-11-10 20:04:53 +0000
committerMike Frysinger <vapier@gentoo.org>2003-11-10 20:04:53 +0000
commitaeb6a9e1ab7b660580ca746e3cef91ae0ac26f31 (patch)
tree605d1973c8c4d3da59522020ecb4b6a1f3c11406 /eclass
parentadding jack useflag. (diff)
downloadgentoo-2-aeb6a9e1ab7b660580ca746e3cef91ae0ac26f31.tar.gz
gentoo-2-aeb6a9e1ab7b660580ca746e3cef91ae0ac26f31.tar.bz2
gentoo-2-aeb6a9e1ab7b660580ca746e3cef91ae0ac26f31.zip
return properly in wrapper funcs #32990
Diffstat (limited to 'eclass')
-rw-r--r--eclass/games.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index a2a9bc5af887..8156767b57ca 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.53 2003/11/04 07:35:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.54 2003/11/10 20:04:53 vapier Exp $
#
# devlist: {vapier,wolf31o2,msterret}@gentoo.org
#
@@ -69,7 +69,9 @@ gameswrapper() {
into ${GAMES_PREFIX}
local cmd=$1; shift
${cmd} "$@"
+ local ret=$?
into ${oldtree}
+ return ${ret}
}
dogamesbin() { gameswrapper ${FUNCNAME/games} "$@"; }