[entropy.tools] read_elf_broken_symbols: no need to consider another ROOT=

This commit is contained in:
Fabio Erculiani
2010-08-30 16:06:08 +02:00
parent 778fa6c23e
commit 2f93f2a214
+1 -1
View File
@@ -2720,7 +2720,7 @@ def read_elf_broken_symbols(elf_file):
"""
global ldd_avail_check
if not ldd_avail_check:
if not os.access(etpConst['systemroot']+"/usr/bin/ldd", os.X_OK):
if not os.access("/usr/bin/ldd", os.X_OK):
FileNotFound('FileNotFound: no ldd')
ldd_avail_check = True
return set([x.strip().split("\t")[0].split()[-1] for x in \