]> code.ossystems Code Review - openembedded-core.git/commit
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:41 +0000 (11:23 +0000)
commit13061ed1e1f347589d6955d5cc50a50574b00218
tree04d141c77d9721620cd62fd31452ba34df5a7950
parent1f694e4cb493b0737b6009382c0957e6837ebbed
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.

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