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>
Wed, 29 Aug 2018 12:19:43 +0000 (14:19 +0200)
commit5ebcd32997b6d10abcd29c8795a598fdcaf4521d
tree96cac0911187861362d178260869a2cf739aa084
parentacedce1d79e238be7ad8fcd8f82ef5a7db0bc929
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>
scripts/bundle-libraries.sh