| Index: remoting/tools/build/remoting_copy_locales.py
|
| diff --git a/remoting/tools/build/remoting_copy_locales.py b/remoting/tools/build/remoting_copy_locales.py
|
| index 4d1d41a9f42c6a2967af9b229b057058c789b7d2..255a7efc0a7bb77b7409be98088849ebb02ec26a 100755
|
| --- a/remoting/tools/build/remoting_copy_locales.py
|
| +++ b/remoting/tools/build/remoting_copy_locales.py
|
| @@ -14,8 +14,10 @@ import optparse
|
| import os
|
| import sys
|
|
|
| -sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', '..',
|
| - 'tools', 'grit'))
|
| +# Prepend the grit module from the source tree so it takes precedence over other
|
| +# grit versions that might present in the search path.
|
| +sys.path.insert(1, os.path.join(os.path.dirname(__file__), '..', '..', '..',
|
| + 'tools', 'grit'))
|
| from grit.format import data_pack
|
|
|
| # Some build paths defined by gyp.
|
|
|