Skip to content

Commit 9d04b94

Browse files
committed
fix shellscript
1 parent cf4d0a7 commit 9d04b94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

instrumentation-docs/collect.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ parse_descriptor() {
6464

6565
# Join everything before the type token with slashes to make instrumentation/<path>/...
6666
local path_segments=("${parts[@]:0:type_idx}")
67-
local module_path="instrumentation/$(IFS=/; echo "${path_segments[*]}")"
67+
local module_path
68+
IFS=/ module_path="instrumentation/${path_segments[*]}"
6869

6970
echo "$module_path" "$task_type" "$task_suffix"
7071
}

0 commit comments

Comments
 (0)