summaryrefslogtreecommitdiff
path: root/newapkbuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-05-31 16:37:31 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-05-31 16:37:31 +0200
commitc0a862930c1bd033be30f2c48e91a6f7e76a5a58 (patch)
tree86c2e3d14634575ef5c4a6f6a73ae668103c1139 /newapkbuild.in
parent75b8cacaf0468470c502314560a436b80b7fe9af (diff)
downloadabuild-c0a862930c1bd033be30f2c48e91a6f7e76a5a58.tar.gz
abuild-c0a862930c1bd033be30f2c48e91a6f7e76a5a58.tar.bz2
abuild-c0a862930c1bd033be30f2c48e91a6f7e76a5a58.tar.xz
abuild-c0a862930c1bd033be30f2c48e91a6f7e76a5a58.zip
abuild: fix race when stripping
scanelf may pick up tempfiles created by strip or setfattr since it runs in spearate process and pipes the out to a subshell. This causes a race and may lead to the while loop attempt to strip seomthing that no longer exists. We fix that by test if file exists before try manipulate it. We could have written he file list to a temp file first, but this way we benefit from multiple cores working in parallel.
Diffstat (limited to 'newapkbuild.in')
0 files changed, 0 insertions, 0 deletions