Chromium Code Reviews| Index: bootstrap/bootstrap.py |
| diff --git a/bootstrap/bootstrap.py b/bootstrap/bootstrap.py |
| index c313a83e96aeab8c1b6e36235777c19b4fa8f159..dafae96b1df71e971056ca58936ba1a3ec59c427 100755 |
| --- a/bootstrap/bootstrap.py |
| +++ b/bootstrap/bootstrap.py |
| @@ -145,7 +145,10 @@ def activate_env(env, deps): |
| env, search_dirs=virtualenv.file_search_dirs()) |
| print ' Activating environment' |
| - activate_this = os.path.join(env, 'bin', 'activate_this.py') |
| + if not virtualenv.is_win: |
| + activate_this = os.path.join(env, 'bin', 'activate_this.py') |
| + else: |
| + activate_this = os.path.join(env, 'Scripts', 'activate_this.py') |
|
iannucci
2014/08/15 17:38:40
thanks, I was meaning to do this but never got aro
anatoly techtonik
2014/08/15 19:36:11
Done.
|
| execfile(activate_this, dict(__file__=activate_this)) |
| if cur_deps is None: |