Chromium Code Reviews| Index: tools/build.py |
| diff --git a/tools/build.py b/tools/build.py |
| index 4ca626230520a00ca8122fdd4e0705ea7fde9ace..6e0d513870dd189dda3a7ef3e2872dfc46f0bc2d 100755 |
| --- a/tools/build.py |
| +++ b/tools/build.py |
| @@ -511,6 +511,10 @@ def BuildCrossSdk(options, target_os, mode, arch): |
| def Main(): |
| + # Change current directory to the repo root: the rest of this script |
| + # assumes it is running from the repo root. |
| + os.chdir(utils.DART_DIR) |
|
ricow1
2014/09/16 08:11:29
to be nice and change back you could do:
with util
Nathan Collins
2014/09/16 17:38:57
This couldn't hurt, but the cd was happening in th
|
| + |
| utils.ConfigureJava() |
| # Parse the options. |
| parser = BuildOptions() |