Remove trailing / from install path
am: e14388b9de
* commit 'e14388b9de3377955b66dc294481e23dd753ff9e':
Remove trailing / from install path
Change-Id: I8a2e724b4cbd4336b1eea888978ae33b783eb63e
This commit is contained in:
@@ -119,7 +119,7 @@ func (installer *baseInstaller) AndroidMk(ret *common.AndroidMkData) {
|
||||
path := installer.path.RelPathString()
|
||||
dir, file := filepath.Split(path)
|
||||
stem := strings.TrimSuffix(file, filepath.Ext(file))
|
||||
fmt.Fprintln(w, "LOCAL_MODULE_PATH := $(OUT_DIR)/"+dir)
|
||||
fmt.Fprintln(w, "LOCAL_MODULE_PATH := $(OUT_DIR)/"+filepath.Clean(dir))
|
||||
fmt.Fprintln(w, "LOCAL_MODULE_STEM := "+stem)
|
||||
return nil
|
||||
})
|
||||
|
Reference in New Issue
Block a user