summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-14 05:04:09 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-14 05:04:09 +0000
commit51a7ef8b110087e75c857c89efdabe423e26a42c (patch)
tree25fafbf0562f2c713acbc0d4ff987722bd2224c6 /eclass/toolchain-funcs.eclass
parentinitial import (Manifest recommit) (diff)
downloadgentoo-2-51a7ef8b110087e75c857c89efdabe423e26a42c.tar.gz
gentoo-2-51a7ef8b110087e75c857c89efdabe423e26a42c.tar.bz2
gentoo-2-51a7ef8b110087e75c857c89efdabe423e26a42c.zip
make sure we return the correct status
Diffstat (limited to 'eclass/toolchain-funcs.eclass')
-rw-r--r--eclass/toolchain-funcs.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index 5b54c6fabc57..8e809b83f0dd 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.12 2004/12/13 23:49:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.13 2004/12/14 05:04:09 vapier Exp $
#
# Author: Toolchain Ninjas <ninjas@gentoo.org>
#
@@ -95,6 +95,7 @@ tc-is-cross-compiler() {
"${tmpfile}".bin &>/dev/null
ret=$?
rm -f "${tmpfile}" "${tmpfile}".bin
+ return ${ret}
}