From 1fd6bb16d8a76fc1c161a2dcfc51eecad4f5f4d3 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 29 Jan 2008 20:55:25 +0000 Subject: 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 --- meta/classes/autotools.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes') 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 -- cgit v1.2.3