Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1fb31a3 authored by Anton Hansson's avatar Anton Hansson
Browse files

Add trailing slash to mainline path claims.

Fixes a bug where system_other/ paths are considered part of
the "system" path.

Test: lunch mainline_arm64; m nothing
Change-Id: Id7aad41ea285f545260289f59e55c251677bdc38
parent f77560ec
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -64,8 +64,8 @@ _my_whitelist := $(_base_mk_whitelist)
# Both /system and / are in system.img when PRODUCT_SHIPPING_API_LEVEL>=28.
# Though we do have a new ramdisk partition for logical partitions.
_my_paths := \
  $(TARGET_COPY_OUT_ROOT) \
  $(TARGET_COPY_OUT_SYSTEM) \
  $(TARGET_COPY_OUT_RAMDISK) \
  $(TARGET_COPY_OUT_ROOT)/ \
  $(TARGET_COPY_OUT_SYSTEM)/ \
  $(TARGET_COPY_OUT_RAMDISK)/ \

$(call require-artifacts-in-path, $(_my_paths), $(_my_whitelist))