summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-29 20:55:25 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-29 20:55:25 +0000
commit1fd6bb16d8a76fc1c161a2dcfc51eecad4f5f4d3 (patch)
treea6d284db8bcc0e35d042fdd9f30eaa78204ac613 /meta/classes
parent26b3e203bd8f0455837a69e5075f64d4a51c5c60 (diff)
downloadopenembedded-core-1fd6bb16d8a76fc1c161a2dcfc51eecad4f5f4d3.tar.gz
openembedded-core-1fd6bb16d8a76fc1c161a2dcfc51eecad4f5f4d3.tar.bz2
openembedded-core-1fd6bb16d8a76fc1c161a2dcfc51eecad4f5f4d3.zip
autotools.bbclass: Ensure the current working directory is preserved in autotools_stage_all
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3620 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/autotools.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index d65a151e60..f00e307fe1 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -175,8 +175,10 @@ autotools_stage_all() {
fi
if [ -d ${STAGE_TEMP}/${libdir} ]
then
+ olddir=`pwd`
cd ${STAGE_TEMP}/${libdir}
las=$(find . -name \*.la -type f)
+ cd $olddir
echo "Found la files: $las"
if [ -n "$las" ]; then
# If there are .la files then libtool was used in the