Chromium Code Reviews| Index: llvm2iceinsts.py |
| diff --git a/llvm2iceinsts.py b/llvm2iceinsts.py |
| index b04505fed219b906f5fcde98b102ea5bc2faa80a..29ddd145fa7d526d0c2fc4ef6de53474a0c7a1e9 100755 |
| --- a/llvm2iceinsts.py |
| +++ b/llvm2iceinsts.py |
| @@ -7,10 +7,7 @@ import re |
| import subprocess |
| import sys |
| -for p in sys.path: |
| - if p.endswith('/toolchain_build/src/pnacl-subzero'): |
| - sys.path.insert(0, p + '/pydir') |
| - break |
| +sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'pydir')) |
| from utils import shellcmd |