Skip to content

Commit 0ea8587

Browse files
remove mapfile
1 parent 687c6ad commit 0ea8587

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/ConnectedFields/eg001SetConnectedFields.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ extract_verify_info() {
5454

5555
prompt_user_choice() {
5656
local json_data="'''$1'''"
57-
mapfile -t unique_apps < <(invoke_python "extract_unique_apps($json_data)")
57+
unique_apps=()
58+
while IFS= read -r line; do
59+
unique_apps+=("$line")
60+
done < <(invoke_python "extract_unique_apps($json_data)")
5861

5962
if [[ -z "$json_data" || "$json_data" == "[]" ]]; then
6063
echo "No data verification were found in the account. Please install a data verification app."

0 commit comments

Comments
 (0)