summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-27 07:21:48 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-27 07:21:48 +0000
commit7b137c1d15a88acd3fc724610a430f9441d25a3c (patch)
treeb815349f77d1f1ee8a3c54401024f7b4136a146e /sys-devel
parentVersion bump to fix #135101. (diff)
downloadgentoo-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-xsys-devel/crossdev/files/crossdev6
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
#####################