]> git.wh0rd.org Git - home.git/commitdiff
r: force python2 since repo fails w/py3
authorMike Frysinger <vapier@gentoo.org>
Fri, 25 Dec 2015 01:23:14 +0000 (20:23 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 25 Dec 2015 01:23:14 +0000 (20:23 -0500)
.bin/r

diff --git a/.bin/r b/.bin/r
index cc26b7b6af132286f6c04589e47ddc7979ae971f..22628b4211e0c29c995befac6fbedd0cf02a6ac4 100755 (executable)
--- a/.bin/r
+++ b/.bin/r
@@ -307,4 +307,4 @@ email)
        ;;
 esac
 
-exec repo ${acmd:-${cmd}} "$@"
+exec python2 $(type -P repo) ${acmd:-${cmd}} "$@"