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

Unified Diff: sky/tools/big_red_button.py

Issue 1227803002: Some fixes for big_red_button.py (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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: sky/tools/big_red_button.py
diff --git a/sky/tools/big_red_button.py b/sky/tools/big_red_button.py
index 3136a24db8c252e921f861f29dd05c7c6a1d9a5c..620133a03247505ee1e99130b7581ae281bde1d2 100644
--- a/sky/tools/big_red_button.py
+++ b/sky/tools/big_red_button.py
@@ -11,6 +11,7 @@
import argparse
import os
import subprocess
+import sys
DEFAULT_MOJO_ROOT = '/src/mojo/src'
DEFAULT_SKY_SDK_ROOT = '/src/sky_sdk'
@@ -43,9 +44,9 @@ def main():
default=DEFAULT_DEMO_SITE_ROOT)
args = parser.parse_args()
- mojo_root = args.mojo_root
- sky_sdk_root = args.sky_sdk_root
- demo_site_root = args.demo_site_root
+ mojo_root = os.path.abspath(os.path.expanduser(args.mojo_root))
+ sky_sdk_root = os.path.abspath(os.path.expanduser(args.sky_sdk_root))
+ demo_site_root = os.path.abspath(os.path.expanduser(args.demo_site_root))
# Derived paths:
dart_sdk_root = os.path.join(mojo_root, 'third_party/dart-sdk/dart-sdk')
« 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