Verified Commit 164e656b authored by Max Rees's avatar Max Rees
Browse files

abuild: use case instead of grep for normalize_target_path

parent 5ecfc84b
......@@ -1395,7 +1395,9 @@ scan_shared_objects() {
# path (2nd arg).
normalize_target_path() {
local path=$1
(printf '%s' "$path" | grep -q '^/') || path=$(dirname "$2")/$path
case "$path" in
/*) path="$(dirname "$2")/$path";;
local oifs="$IFS" pathstr= i=
Markdown is supported
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