diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-27 07:21:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-27 07:21:48 +0000 |
commit | 7b137c1d15a88acd3fc724610a430f9441d25a3c (patch) | |
tree | b815349f77d1f1ee8a3c54401024f7b4136a146e /sys-devel | |
parent | Version bump to fix #135101. (diff) | |
download | gentoo-2-7b137c1d15a88acd3fc724610a430f9441d25a3c.tar.gz gentoo-2-7b137c1d15a88acd3fc724610a430f9441d25a3c.tar.bz2 gentoo-2-7b137c1d15a88acd3fc724610a430f9441d25a3c.zip |
add a generic env file for people
(Portage version: 2.1.1_pre1-r2)
Diffstat (limited to 'sys-devel')
-rwxr-xr-x | sys-devel/crossdev/files/crossdev | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev index d7b28077a24e..822725363fc9 100755 --- a/sys-devel/crossdev/files/crossdev +++ b/sys-devel/crossdev/files/crossdev @@ -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/crossdev/files/crossdev,v 1.66 2006/06/25 01:28:25 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.67 2006/06/27 07:21:48 vapier Exp $ cd / @@ -390,6 +390,10 @@ for v in ABI UCLIBC_CPU USE BVER GVER KVER LVER STAGE CFLAGS LDFLAGS ASFLAGS ; d export ${v}=$(</etc/portage/crossdev/${CTARGET}/${v}) einfo "Restoring user setting '${v}' to '${!v}'" fi + if [[ -e /etc/portage/crossdev/${CTARGET}/env ]] ; then + einfo "Restoring generic user env settings" + source /etc/portage/crossdev/${CTARGET}/env + fi done ##################### |