Commit 33ee5966 authored by dianlujitao's avatar dianlujitao Committed by Łukasz Patron
Browse files

extract_utils: Drop string after semicolon when parsing destination

This fixes parsing when arguments contain colons, a typical usecase
would be:

Change-Id: I7500ae09632632ddc10734d9b1df267e28286b67
parent 98094698
......@@ -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=
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment