]> git.ozlabs.org Git - next-scripts/commitdiff
fetch_trees: remove the user xattr that wget helpfully adds to files
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Jun 2017 00:24:58 +0000 (10:24 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Jun 2017 00:24:58 +0000 (10:24 +1000)
this is not supported by tmpfs and so when I use rsync to
copy these files to my build machine it generated errors.

fetch_trees

index b165bbf81c80b4b7a1a44bb0190adf2341c6d55b..d163bba6835fe914cb23dd85ff746c5cf8c06c38 100755 (executable)
@@ -85,6 +85,7 @@ fetch_quilt()
                }
                comm -23 .series.old .series.next | xargs -r rm -f
                rm -f .series.old .series.next
+               setfattr -x user.xdg.origin.url * >/dev/null 2>&1
        )
 }