diff options
Diffstat (limited to 'python/scripts')
| -rw-r--r-- | python/scripts/stub_template_host.txt | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/python/scripts/stub_template_host.txt b/python/scripts/stub_template_host.txt index b90a28b56..386298ebc 100644 --- a/python/scripts/stub_template_host.txt +++ b/python/scripts/stub_template_host.txt @@ -18,8 +18,6 @@ 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  |