diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-10 01:04:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-10 01:04:25 +0000 |
commit | c50f6b974caef98b88bf25fc077eda015f5ff847 (patch) | |
tree | ca70a7875534650706cd25fc120f72b948627d13 /sys-devel/crossdev | |
parent | export ABI to x86 #81082 (diff) | |
download | gentoo-2-c50f6b974caef98b88bf25fc077eda015f5ff847.tar.gz gentoo-2-c50f6b974caef98b88bf25fc077eda015f5ff847.tar.bz2 gentoo-2-c50f6b974caef98b88bf25fc077eda015f5ff847.zip |
make sure we work when using multiple overlays
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-devel/crossdev')
-rwxr-xr-x | sys-devel/crossdev/files/crossdev | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev index 8c6079455f8a..af3bbaddb832 100755 --- a/sys-devel/crossdev/files/crossdev +++ b/sys-devel/crossdev/files/crossdev @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2005 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.18 2005/04/05 23:17:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.19 2005/04/10 01:04:25 vapier Exp $ if [[ ${ROOT:-/} != "/" ]] ; then echo "Sorry, but crossdev does not support ROOT." @@ -95,6 +95,7 @@ parse_target() { setup_portage_vars() { PORTDIR_OVERLAY=$(portageq envvar PORTDIR_OVERLAY) + PORTDIR_OVERLAY=${PORTDIR_OVERLAY%% *} PORTDIR=$(portageq envvar PORTDIR) PORT_LOGDIR=$(portageq envvar PORT_LOGDIR) PORT_LOGDIR=${PORT_LOGDIR:-/var/log/portage} |