Remove trailing / from install path am: e14388b9de am: f6d6b873ea

am: 3d1c70b073

* commit '3d1c70b0739f66c1686c7d22703d49ab321ba6e3':
  Remove trailing / from install path

Change-Id: I702a821aad939f4b5113db1e769e120b04c262a1
This commit is contained in:
Colin Cross
2016-05-04 00:41:46 +00:00
committed by android-build-merger

View File

@@ -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
})