summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-19 13:23:46 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-19 13:23:46 +0000
commit347b5bceb50af81e15795be8f2e1ddbd8b85de5b (patch)
treec02a9f03fc5e41cd934c70f4a6efb7bdd898c926 /eclass
parentadd another check to make sure the system vm is good enough to build the package (diff)
downloadhistorical-347b5bceb50af81e15795be8f2e1ddbd8b85de5b.tar.gz
historical-347b5bceb50af81e15795be8f2e1ddbd8b85de5b.tar.bz2
historical-347b5bceb50af81e15795be8f2e1ddbd8b85de5b.zip
oops, had inverse logic #68106
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-funcs.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index cbb136374678..337cb3603fdd 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.4 2004/10/15 20:10:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.5 2004/10/19 13:23:46 vapier Exp $
#
# Author: Toolchain Ninjas <ninjas@gentoo.org>
#
@@ -33,7 +33,7 @@ tc-getPROG() {
fi
fi
- if [ -z "${search}" ] ; then
+ if [ -n "${search}" ] ; then
prog="${search##*/}"
fi
export ${var}="${prog}"