am 5a2988fc: Remove duplicate paths from sepolicy_replace_paths
* commit '5a2988fcb5f1b76c87d9bf8e671c38d1b03188ab':
Remove duplicate paths from sepolicy_replace_paths
diff --git a/Android.mk b/Android.mk
index fee8fd4..44c1ef6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -47,7 +47,7 @@
build_policy = $(foreach type, $(1), \
$(foreach expanded_type, $(notdir $(wildcard $(addsuffix /$(type), $(LOCAL_PATH)))), \
$(if $(filter $(expanded_type), $(BOARD_SEPOLICY_REPLACE)), \
- $(wildcard $(addsuffix $(expanded_type), $(dir $(sepolicy_replace_paths)))), \
+ $(wildcard $(addsuffix $(expanded_type), $(sort $(dir $(sepolicy_replace_paths))))), \
$(LOCAL_PATH)/$(expanded_type) \
) \
) \