]> code.ossystems Code Review - openembedded-core.git/commit
combo-layer: handle file_exclude matching dirs
authorOlaf Mandel <o.mandel@menlosystems.com>
Fri, 21 Oct 2016 09:24:27 +0000 (09:24 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Oct 2016 10:27:33 +0000 (11:27 +0100)
commite84b9185cc8f8e9f9df0e050543bb3a2c59426c3
treee2d6cd0a5d593ea43ed802b15f6519faa28c2beb
parent7f4276821b70eca717aad86b6ee3b6b40da582d9
combo-layer: handle file_exclude matching dirs

If file_exclude matches a directory, os.unlink() got called with this
directory as an argument.

Filter out paths that end in a directory separator.

This still leaves the (then empty) directories, but this does not affect
the git commit.

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/combo-layer