Index: mojo/tools/roll/roll_network_service.py |
diff --git a/mojo/tools/roll/roll_network_service.py b/mojo/tools/roll/roll_network_service.py |
index 2cdf31544cdc3d2c4587dfb4faecfa1aaa170ef0..a61df259268b29dc2466701f88b17a65ebfe9bfa 100755 |
--- a/mojo/tools/roll/roll_network_service.py |
+++ b/mojo/tools/roll/roll_network_service.py |
@@ -16,7 +16,7 @@ from utils import commit |
from utils import mojo_root_dir |
from utils import system |
-sys.path.insert(0, os.path.join(mojo_root_dir, "tools")) |
+sys.path.insert(0, os.path.join(mojo_root_dir, "mojo/public/tools")) |
# pylint: disable=F0401 |
import gs |
@@ -39,7 +39,9 @@ def roll(target_version): |
try: |
with tempfile.NamedTemporaryFile() as temp_zip_file: |
- gs.download_from_public_bucket(mojoms_gs_path, temp_zip_file.name) |
+ find_depot_tools_path = os.path.join(mojo_root_dir, "tools") |
+ gs.download_from_public_bucket(mojoms_gs_path, temp_zip_file.name, |
+ find_depot_tools_path) |
try: |
system(["git", "rm", "-r", mojoms_path], cwd=mojo_root_dir) |