From 2c157bc6c5c9dfff318a5724701ecb002bfccff5 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Mon, 30 Aug 2010 16:06:41 +0200 Subject: [PATCH] [entropy.tools] read_elf_dynamic_libraries no need to consider another ROOT= --- libraries/entropy/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/entropy/tools.py b/libraries/entropy/tools.py index f6adec4e3..3e1c249ff 100644 --- a/libraries/entropy/tools.py +++ b/libraries/entropy/tools.py @@ -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 \