diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-09-22 16:00:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-09-22 16:00:42 +0000 |
commit | 98aa337bb342b661008258159ee3673fd4f91cdd (patch) | |
tree | a05fe79221f062f85c2b4eb39d730ad1c4500f80 /eclass | |
parent | cure whitespace-phobia (Manifest recommit) (diff) | |
download | gentoo-2-98aa337bb342b661008258159ee3673fd4f91cdd.tar.gz gentoo-2-98aa337bb342b661008258159ee3673fd4f91cdd.tar.bz2 gentoo-2-98aa337bb342b661008258159ee3673fd4f91cdd.zip |
dont change back to $S, change to where we started
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/libtool.eclass | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index db40d767c1ad..c97e0847176a 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.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/libtool.eclass,v 1.28 2004/06/25 00:39:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.29 2004/09/22 16:00:42 vapier Exp $ # # Author: Martin Schlemmer <azarah@gentoo.org> # @@ -111,6 +111,7 @@ elibtoolize() { local deptoremove= local my_dirlist= local elt_patches="portage relink max_cmd_len sed test tmp" + local start_dir="${PWD}" my_dirlist="$(ELT_find_ltmain_sh)" @@ -254,7 +255,5 @@ elibtoolize() { rm -f libtool fi - # We need to change the pwd back to $S, as we may be called in - # src_compile() - cd ${S} + cd "${start_dir}" } |