]> code.ossystems Code Review - openembedded-core.git/commitdiff
autotools.bbclass: Ensure the current working directory is preserved in autotools_sta...
authorRichard Purdie <richard@openedhand.com>
Tue, 29 Jan 2008 20:55:25 +0000 (20:55 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 29 Jan 2008 20:55:25 +0000 (20:55 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3620 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/autotools.bbclass

index d65a151e60ae0af7eda5a5e409a98e16be398ab6..f00e307fe124777cb71ff8f26e036695e338e968 100644 (file)
@@ -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