Skip to content
Commit 47973fd4 authored by Paulo Neves's avatar Paulo Neves Committed by Richard Purdie
Browse files

utils: create_cmdline_shebang_wrapper preserve permission and ownership



The .real command was not given the same permissions and ownership as
the original pre-wrap file and this is now fixed.

A situation where the original pre-wrap file did not have write
permissions would cause a failure in the wrapping is also fixed.

Test update also included.

Signed-off-by: default avatarPaulo Neves <ptsneves@gmail.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 68f49af7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment