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

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

Issue 10140021: Revert "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
« no previous file with comments | « dart/frog/scripts/bootstrap/frog_bootstrap_wrapper.py ('k') | dart/lib/dartdoc/client-live-nav.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f05ca9cd176f0f884322d098566b94e5cd2a3876..985472ef151e08b287c8ef8ea655bab641f6a92f 100644
--- a/dart/frog/scripts/bootstrap/frog_wrapper.py
+++ b/dart/frog/scripts/bootstrap/frog_wrapper.py
@@ -8,10 +8,13 @@ import os
import sys
def main(args):
- home = os.path.join(HOME, 'frog.py')
+ # 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')
if not os.path.exists(home):
- print "Could not find .../dart/frog/frog.py"
+ print "Could not find frog"
return 1
frog_args = [ 'frog.py', '--vm=%s' % VM]
« no previous file with comments | « dart/frog/scripts/bootstrap/frog_bootstrap_wrapper.py ('k') | dart/lib/dartdoc/client-live-nav.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698