# HG changeset patch # User Aleksej Bobylev # Date 1485010427 -7200 # Node ID 18f5344d488c2ae49e4b4cac94ce3d1c08966394 # Parent 95bb4b133a7ba5118b5e4dccf8ed9a41bd9b7bb4 ldd: fix again ("dialog" builds well now: commandline was `ldd conftest` with the missing file "conftest") diff -r 95bb4b133a7b -r 18f5344d488c rootfs/usr/bin/ldd --- a/rootfs/usr/bin/ldd Sat Jan 21 16:31:34 2017 +0200 +++ b/rootfs/usr/bin/ldd Sat Jan 21 16:53:47 2017 +0200 @@ -7,8 +7,9 @@ file="$@" for file do file="$(which "$file")" + [ ! -f "$file" ] && exit ld="$(sed '/\/lib.*\/ld/!dq' "$file")" echo "$file" | sed 's%^./%%;s%$%:%' - LD_TRACE_LOADED_OBJECTS=1 "$(realpath ${ld:-/lib/ld-linux*})" "$file" + LD_TRACE_LOADED_OBJECTS=1 "$(realpath ${ld:-/lib/ld-linux*})" "$file" 2>/dev/null echo done