scripts: bundle-libraries: fix logic flaw
authorJo-Philipp Wich <jo@mein.io>
Wed, 29 Aug 2018 11:16:34 +0000 (13:16 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 30 Aug 2018 11:11:42 +0000 (13:11 +0200)
commit9d3825a0279a9c70fb16179731f212abf961693e
tree79bc310401f09042782b3a70714f94aafb067feb
parent6e8f1c387892b845fddf052fb8e612d4f26ffdd3
scripts: bundle-libraries: fix logic flaw

Previous refactoring of the script moved the LDSO detection into a
file-not-exists condition, causing onyl the very first executable to
get bundled.

Solve the problem by unconditionally checking for LDSO again.

Fixes: 9030a78a71 ("scripts: bundle-libraries: prevent loading host locales")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 5ebcd32997b6d10abcd29c8795a598fdcaf4521d)
scripts/bundle-libraries.sh