Revert "Add path interposer"
This reverts commit a14704c12b
.
Reason for revert: breaking builds
Change-Id: I920b0ff41823428a0baf59b3fd82cbcc766babca
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user