| 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]
|
|
|