projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2a4294
)
base-files: fix ldd definition if /usr/bin/ldd exists
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 19 Oct 2014 21:46:08 +0000
(21:46 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 19 Oct 2014 21:46:08 +0000
(21:46 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42976
package/base-files/files/lib/upgrade/common.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/upgrade/common.sh
b/package/base-files/files/lib/upgrade/common.sh
index ba9de99dc90d1991c134c121dba79ee975b4c87b..327322605a07b80c7ad732c7577f072290332dad 100644
(file)
--- a/
package/base-files/files/lib/upgrade/common.sh
+++ b/
package/base-files/files/lib/upgrade/common.sh
@@
-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> ... ]