Use `python2.7` instead of `python2`

Ubuntu has both aliases, but Mac only declares python2.7, not python2.

Test: `m sepolicy_tests` on internal master
Change-Id: Ia2b5d2d95195f307befbc1893a465752f14b8a7b
This commit is contained in:
Dan Willemsen 2017-09-25 13:47:40 -07:00
parent 968df27a9c
commit 7d1681a174
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ func (binary *binaryDecorator) getHostInterpreterName(ctx android.ModuleContext,
var interp string
switch actual_version {
case pyVersion2:
interp = "python2"
interp = "python2.7"
case pyVersion3:
interp = "python3"
default: