Skip to content
Snippets Groups Projects
Commit 5a2988fc authored by William Roberts's avatar William Roberts Committed by Gerrit Code Review
Browse files

Remove duplicate paths from sepolicy_replace_paths

Change-Id: I5d5362ad0055275052b0c2ba535b599a8e26112e
parent 1f5939a9
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ $(foreach pf, $(BOARD_SEPOLICY_REPLACE), \ ...@@ -47,7 +47,7 @@ $(foreach pf, $(BOARD_SEPOLICY_REPLACE), \
build_policy = $(foreach type, $(1), \ build_policy = $(foreach type, $(1), \
$(foreach expanded_type, $(notdir $(wildcard $(addsuffix /$(type), $(LOCAL_PATH)))), \ $(foreach expanded_type, $(notdir $(wildcard $(addsuffix /$(type), $(LOCAL_PATH)))), \
$(if $(filter $(expanded_type), $(BOARD_SEPOLICY_REPLACE)), \ $(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) \ $(LOCAL_PATH)/$(expanded_type) \
) \ ) \
) \ ) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment