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:
parent
968df27a9c
commit
7d1681a174
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue