hyper123 / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

Python Detection Needed - Solution Inside #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Affected Version: ALL
Environment: Linux

What steps will reproduce the problem?
1. try to init with python3 installed at /usr/bin/python

We get breakage here...the solution:

https://github.com/ilikenwf/repo

Well, I did that - but really it's just replacing the call to python in main.py 
and the main repo script with the following:

PYTHON="$(which python2 2>/dev/null || which python)"

And then replace "exec python" with "exec $PYTHON"

Original issue reported on code.google.com by mparn...@gmail.com on 9 Dec 2011 at 5:03

GoogleCodeExporter commented 9 years ago
The link mentioned in this report no longer works.

Python3 is not supported yet.  See Issue #117

Original comment by david.pu...@sonymobile.com on 17 May 2013 at 8:22