scripts/cp-noerror: Avoid a race
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 1 Feb 2014 10:53:13 +0000 (10:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Feb 2014 11:23:45 +0000 (11:23 +0000)
commitedb3ad1f2276226289ed7f100e39a0d6606c1b22
tree1852a2ae924a7deed9ab8d9266198cab697e3d0a
parent8774aa6d22781a74e6b3b6a9d2d3354179db7762
scripts/cp-noerror: Avoid a race

Its possible something can delete $1 (since it may be empty) whilst cp-noerror
is starting. Add an exception to handle this issue since if this happens, we
shouldn't return an error.

(From OE-Core rev: 13061ed1e1f347589d6955d5cc50a50574b00218)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/cp-noerror