| Index: ios/chrome/tools/build/ios_repack_locales.py
|
| diff --git a/ios/chrome/tools/build/ios_repack_locales.py b/ios/chrome/tools/build/ios_repack_locales.py
|
| index d65ce8d7d0818b55b905680c1afb63763664b34b..cd7818ed757d3121927fc3b36212aa25d1b9c8ca 100755
|
| --- a/ios/chrome/tools/build/ios_repack_locales.py
|
| +++ b/ios/chrome/tools/build/ios_repack_locales.py
|
| @@ -14,9 +14,11 @@ import optparse
|
| import os
|
| import sys
|
|
|
| +# Prepend the grit module from the source tree so it takes precedence over other
|
| +# grit versions that might present in the search path.
|
| script_dir = os.path.dirname(__file__)
|
| src_dir = os.path.join(script_dir, os.pardir, os.pardir, os.pardir, os.pardir)
|
| -sys.path.append(os.path.join(src_dir, 'tools', 'grit'))
|
| +sys.path.insert(1, os.path.join(src_dir, 'tools', 'grit'))
|
|
|
| from grit.format import data_pack
|
|
|
|
|