extract_utils: Drop string after semicolon when parsing destination

This fixes parsing when arguments contain colons, a typical usecase
would be:
-vendor/app/TimeService/TimeService.apk;:timeservice_app_cert

Change-Id: I7500ae09632632ddc10734d9b1df267e28286b67
gugelfrei
dianlujitao 5 years ago committed by Łukasz Patron
parent 9809469844
commit 33ee59662f

@ -130,7 +130,7 @@ function src_file() {
# output: "dst" if present, "src" otherwise.
#
function target_file() {
local SPEC="$1"
local SPEC="${1%%;*}"
local SPLIT=(${SPEC//:/ })
local ARGS="$(target_args ${SPEC})"
local DST=

Loading…
Cancel
Save