From 5c51792926b063945d786cc8a1e407a2ce2159cf Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 31 Aug 2017 12:29:17 -0700 Subject: Make binaries executable Split InstallFileName into InstallExecutable that does chmod +x after copying the file. Also remove InstallFile and rename InstallFileName to InstallFile. Test: m -j checkbuild Change-Id: Id41ad4eafe521f6cd5d8cc250b7747ecb3da8dfc --- python/installer.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/installer.go b/python/installer.go index 9c12f5f7..04698c55 100644 --- a/python/installer.go +++ b/python/installer.go @@ -35,5 +35,6 @@ func NewPythonInstaller(dir string) *pythonInstaller { var _ installer = (*pythonInstaller)(nil) func (installer *pythonInstaller) install(ctx android.ModuleContext, file android.Path) { - installer.path = ctx.InstallFile(android.PathForModuleInstall(ctx, installer.dir), file) + installer.path = ctx.InstallFile(android.PathForModuleInstall(ctx, installer.dir), + file.Base(), file) } -- cgit v1.2.3