summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2007-05-28 15:49:48 +0000
committerGeorge Shapovalov <george@gentoo.org>2007-05-28 15:49:48 +0000
commit30ae388a82e02cde46b16fd3d74c3234f7cd86cd (patch)
tree2c1f6c8b7d3cf3617989b42589d7a4f0d5fa31f5 /eclass
parentDefault backend to gtk if tk and gtk are selected (diff)
downloadgentoo-2-30ae388a82e02cde46b16fd3d74c3234f7cd86cd.tar.gz
gentoo-2-30ae388a82e02cde46b16fd3d74c3234f7cd86cd.tar.bz2
gentoo-2-30ae388a82e02cde46b16fd3d74c3234f7cd86cd.zip
internal fix to cd ${SL} before lib_install
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnat.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/gnat.eclass b/eclass/gnat.eclass
index 1df94c104dea..01062b918035 100644
--- a/eclass/gnat.eclass
+++ b/eclass/gnat.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/gnat.eclass,v 1.23 2007/05/28 12:47:53 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnat.eclass,v 1.24 2007/05/28 15:49:48 george Exp $
#
# Author: George Shapovalov <george@gentoo.org>
# Belongs to: ada herd <ada@gentoo.org>
@@ -305,6 +305,7 @@ gnat_src_compile() {
lib_compile ${compilers[${i}]} || die "failed compiling for ${compilers[${i}]}"
# call install callback
+ cd ${SL}
lib_install ${compilers[${i}]} || die "failed installing profile-specific part for ${compilers[${i}]}"
# move installed and cleanup
mv ${DL} ${DL}-${compilers[${i}]}