diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-01-29 20:55:25 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-01-29 20:55:25 +0000 |
| commit | 1fd6bb16d8a76fc1c161a2dcfc51eecad4f5f4d3 (patch) | |
| tree | a6d284db8bcc0e35d042fdd9f30eaa78204ac613 /meta/classes | |
| parent | 26b3e203bd8f0455837a69e5075f64d4a51c5c60 (diff) | |
| download | poky-1fd6bb16d8a76fc1c161a2dcfc51eecad4f5f4d3.tar.gz | |
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.bbclass | 2 |
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() { | |||
| 175 | fi | 175 | fi |
| 176 | if [ -d ${STAGE_TEMP}/${libdir} ] | 176 | if [ -d ${STAGE_TEMP}/${libdir} ] |
| 177 | then | 177 | then |
| 178 | olddir=`pwd` | ||
| 178 | cd ${STAGE_TEMP}/${libdir} | 179 | cd ${STAGE_TEMP}/${libdir} |
| 179 | las=$(find . -name \*.la -type f) | 180 | las=$(find . -name \*.la -type f) |
| 181 | cd $olddir | ||
| 180 | echo "Found la files: $las" | 182 | echo "Found la files: $las" |
| 181 | if [ -n "$las" ]; then | 183 | if [ -n "$las" ]; then |
| 182 | # If there are .la files then libtool was used in the | 184 | # If there are .la files then libtool was used in the |
