summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/profile
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-08-08 15:37:34 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-08-08 15:37:34 +0000
commit31e46b4293f4add58ef5bfb5a8ddcf8ea92d1125 (patch)
tree4f31fda726f74d5d5b09a46a13aa8878dd8b5670 /package/base-files/files/etc/profile
parent4d39f3f4056c447c2a8117c6b2e9f205296f36f2 (diff)
downloadmtk-20170518-31e46b4293f4add58ef5bfb5a8ddcf8ea92d1125.zip
mtk-20170518-31e46b4293f4add58ef5bfb5a8ddcf8ea92d1125.tar.gz
mtk-20170518-31e46b4293f4add58ef5bfb5a8ddcf8ea92d1125.tar.bz2
base-files: check for ldd presence and executability (#11991)
SVN-Revision: 33057
Diffstat (limited to 'package/base-files/files/etc/profile')
-rw-r--r--package/base-files/files/etc/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile
index 282a747..171adc1 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 /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
+[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }