From 129e14bc5380af877878e18953cb241b90060f8a Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Mon, 6 Apr 2020 12:43:16 +0800 Subject: [PATCH] extract_utils: Fix doubled path separator * $DST_FILE is already prefixed with "/", don't double it. Change-Id: I2655313abd7720a54b20f541a95960ae9ec373ad --- extract_utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract_utils.sh b/extract_utils.sh index fcffb31..08ef3dd 100644 --- a/extract_utils.sh +++ b/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