Merge "Ignore LD_LIBRARY_PATH when determining file type in ldd."

This commit is contained in:
Treehugger Robot 2021-03-02 18:13:11 +00:00 committed by Gerrit Code Review
commit 2d24fe21ba

View file

@ -10,7 +10,7 @@ function error() {
[ $# -eq 1 ] || error "usage: ldd FILE"
what=$(file -L "$1")
what=$(LD_LIBRARY_PATH= file -L "$1")
case "$what" in
*32-bit*)
linker --list "$1"