]> code.ossystems Code Review - openembedded-core.git/commitdiff
e2fsprogs: Don't change ownership of the patches directory
authorGary Thomas <gary@mlbassoc.com>
Wed, 29 Sep 2010 15:25:47 +0000 (16:25 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 29 Sep 2010 15:25:47 +0000 (16:25 +0100)
Patches can be symlinks and changing their ownership may not be possible.
Therefore stop doing this.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb

index 15c80478f5965ed96502b7d63b0bbb49241b0a53..ac262501d18d360f50e0901d02d2052c21e34015 100644 (file)
@@ -17,7 +17,7 @@ do_configure_prepend () {
 }
 
 do_compile_prepend () {
-       find ./ -print|xargs chmod u=rwX
+       find ./ -print | grep -v ./patches | xargs chmod u=rwX
        ( cd util; ${BUILD_CC} subst.c -o subst )
 }