base-files: fix ldd definition if /usr/bin/ldd exists

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42976 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2014-10-19 21:46:08 +00:00
parent 8536f53c68
commit 069e264caa
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
RAM_ROOT=/tmp/root
ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
libs() { ldd $* | awk '{print $3}'; }
install_file() { # <file> [ <file> ... ]