diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-07-04 19:10:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-07-04 19:10:31 +0000 |
commit | 48df5bc66f671385883a125d20f54e53ae610bec (patch) | |
tree | 66f39227f24414f55ff407dc86b4988285d6047b /sys-devel/gcc-config | |
parent | Revision bump to support new Java system. (diff) | |
download | gentoo-2-48df5bc66f671385883a125d20f54e53ae610bec.tar.gz gentoo-2-48df5bc66f671385883a125d20f54e53ae610bec.tar.bz2 gentoo-2-48df5bc66f671385883a125d20f54e53ae610bec.zip |
if python is broken, at least warn the user #139180
(Portage version: 2.1.1_pre2-r2)
Diffstat (limited to 'sys-devel/gcc-config')
-rwxr-xr-x | sys-devel/gcc-config/files/gcc-config-1.3.13 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-devel/gcc-config/files/gcc-config-1.3.13 b/sys-devel/gcc-config/files/gcc-config-1.3.13 index c014087f27ec..eac9d35becbe 100755 --- a/sys-devel/gcc-config/files/gcc-config-1.3.13 +++ b/sys-devel/gcc-config/files/gcc-config-1.3.13 @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.13,v 1.9 2006/07/03 18:57:51 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.13,v 1.10 2006/07/04 19:10:31 vapier Exp $ trap ":" INT QUIT TSTP @@ -129,6 +129,7 @@ get_real_chost() { if ${PYTHON} -V &>/dev/null ; then export REAL_CHOST=$(${ENV} -i ${PORTAGEQ} envvar CHOST 2>/dev/null) else + ewarn "Python seems to be broken, attempting to locate CHOST ourselves ..." export REAL_CHOST=$(try_real_hard_to_find_CHOST) fi |