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

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