From 6800dfef80433241b0ee6213faa7faeb16df46d8 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 27 Jul 2012 15:35:00 +0000 Subject: [package] base-files: fix detection of standalone ldd When standalone ldd is selected in config the binary is installed in /usr/bin/ldd. Signed-off-by: Michael Heimpold git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32891 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files') diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index 4bdfa5787a..282a747e52 100644 --- a/package/base-files/files/etc/profile +++ b/package/base-files/files/etc/profile @@ -12,4 +12,4 @@ export PS1='\u@\h:\w\$ ' [ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc [ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; } -[ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } +[ -z /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } -- cgit v1.2.3