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

Unified Diff: dart/frog/scripts/bootstrap/frog_wrapper.py

Issue 10141009: Use 'frog' in apidoc. Also fix broken dependencies. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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
Index: dart/frog/scripts/bootstrap/frog_wrapper.py
diff --git a/dart/frog/scripts/bootstrap/frog_wrapper.py b/dart/frog/scripts/bootstrap/frog_wrapper.py
index 985472ef151e08b287c8ef8ea655bab641f6a92f..c66265dd753ca399b699e7b337e126d5568676b7 100644
--- a/dart/frog/scripts/bootstrap/frog_wrapper.py
+++ b/dart/frog/scripts/bootstrap/frog_wrapper.py
@@ -8,13 +8,10 @@ import os
import sys
def main(args):
- # Try to find frog.py from the current location.
- home = os.path.join(os.curdir, 'frog.py')
- if not os.path.exists(home):
- home = os.path.join(os.curdir, 'frog', 'frog.py')
+ home = os.path.join(HOME, 'frog.py')
if not os.path.exists(home):
- print "Could not find frog"
+ print "Could not find %s" % home
return 1
frog_args = [ 'frog.py', '--vm=%s' % VM]

Powered by Google App Engine
This is Rietveld 408576698