Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(787)

Unified Diff: recipes.py

Issue 2136303002: Fix bootstrap on windows (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipes.py
diff --git a/recipes.py b/recipes.py
index e71420e5d7307ac9d5dd5150456cccecbcdbc05e..44ff2cc08812c54913ac21df7e483a60487c3347 100755
--- a/recipes.py
+++ b/recipes.py
@@ -390,10 +390,9 @@ def main():
os.environ['RECIPES_RUN_BOOTSTRAP'] = '1'
args = sys.argv
- return subprocess.call(
- [os.path.join(
- os.path.dirname(os.path.realpath(__file__)), 'ENV/bin/python'),
- os.path.join(ROOT_DIR, 'recipes.py')] + original_sys_argv[1:])
+ return subprocess.call([os.path.join(
+ ROOT_DIR, 'ENV', 'bin', 'python'),
dnj 2016/07/11 21:35:52 Note that on Windows this is "python.exe".
martiniss 2016/07/11 23:45:15 Done.
+ os.path.join(ROOT_DIR, 'recipes.py')] + original_sys_argv[1:])
if args.verbose:
logging.getLogger().setLevel(logging.INFO)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698