diff options
author | 2020-09-25 17:13:38 +0100 | |
---|---|---|
committer | 2020-09-25 17:17:50 +0100 | |
commit | 2cfce9380e5b8a6874d74abd3074ef0676ffcf1c (patch) | |
tree | 9a21da931b31727ae74095c4426945ddd6ce1ba4 /tools/releasetools/merge_target_files.py | |
parent | 1fdef5f75a07a37c3dc68d0c716f7113a8ebc164 (diff) |
Do not chmod the symlink target when a prebuilt binary is symlinked.
It may be in a source tree that isn't writable. Instead check that
the target is executable.
Test: m
Test: chmod a-x system/sepolicy/tools/insertkeys.py && \
rm -rf out/host out/soong/host && \
m insertkeys.py
Check that it fails with the expected error message.
Fixes: 169375644
Change-Id: I402d029dba45783127586ad9749c90012afe891d
Diffstat (limited to 'tools/releasetools/merge_target_files.py')
0 files changed, 0 insertions, 0 deletions