xxxrac / git-repo

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

repo breaks if a distro uses python 3 by default #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Current repo will break if /usr/bin/python is a symlink to /usr/bin/python3. I 
attached a patch that will use /usr/bin/python2 if /usr/bin/python --version is 
> "Python 2.8".

Original issue reported on code.google.com by svenst...@gmail.com on 27 May 2011 at 6:59

Attachments:

GoogleCodeExporter commented 9 years ago
Am I the only one that can't find a way to apply this patch? Is it a copy-paste 
thing? Replace code? Make executable and run? I would really appreciate any 
help on this matter.

Original comment by sleepdre...@gmail.com on 27 Dec 2011 at 12:21

GoogleCodeExporter commented 9 years ago
    patch -Np0 < python3.patch 

should do the trick.

Original comment by svenst...@gmail.com on 27 Dec 2011 at 1:58

GoogleCodeExporter commented 9 years ago
issue 97 and 98 are the same thing...

Original comment by ferri...@google.com on 5 Jan 2012 at 12:16

GoogleCodeExporter commented 9 years ago
Patch that makes repo work with (at least) python2.7 and 3.2.

Original comment by santtu.l...@gmail.com on 18 Apr 2012 at 8:46

Attachments:

GoogleCodeExporter commented 9 years ago

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