Revert "Add path interposer"

This reverts commit a14704c12b.

Reason for revert: breaking builds

Change-Id: I920b0ff41823428a0baf59b3fd82cbcc766babca
This commit is contained in:
Dan Willemsen
2018-05-19 00:54:13 +00:00
parent a14704c12b
commit 96c957ae20
11 changed files with 2 additions and 997 deletions

View File

@@ -18,6 +18,8 @@ def SearchPathEnv(name):
for directory in search_path:
if directory == '': continue
path = os.path.join(directory, name)
if os.path.islink(path):
path = os.path.realpath(path)
# Check if path is actual executable file.
if os.path.isfile(path) and os.access(path, os.X_OK):
return path