Quellcode durchsuchen

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 <[email protected]>

SVN-Revision: 32891
Florian Fainelli vor 13 Jahren
Ursprung
Commit
6afd1725f1
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      package/base-files/Makefile
  2. 1 1
      package/base-files/files/etc/profile

+ 1 - 1
package/base-files/Makefile

@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
 include $(INCLUDE_DIR)/version.mk
 
 PKG_NAME:=base-files
-PKG_RELEASE:=111
+PKG_RELEASE:=112
 
 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
 PKG_BUILD_DEPENDS:=opkg/host

+ 1 - 1
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 $*; }