diff --git a/build/tools/extract_utils.sh b/build/tools/extract_utils.sh index fcffb31d..08ef3ddc 100644 --- a/build/tools/extract_utils.sh +++ b/build/tools/extract_utils.sh @@ -1533,8 +1533,8 @@ function extract() { fi # Strip the file path in the vendor repo of "system", if present - local VENDOR_REPO_FILE="$OUTPUT_DIR/${DST_FILE#/system}" local BLOB_DISPLAY_NAME="${DST_FILE#/system/}" + local VENDOR_REPO_FILE="$OUTPUT_DIR/${BLOB_DISPLAY_NAME}" mkdir -p $(dirname "${VENDOR_REPO_FILE}") # Check pinned files