Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

Commit 45f09d9

Browse files
committed
installer: update mapfile usage to a more portable solution
1 parent 0d60d27 commit 45f09d9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

amp_demos/demo

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,10 @@ start_app() {
188188

189189
# Start all demo applications
190190
start_all() {
191-
local apps
192-
mapfile -t apps < <(discover_apps)
191+
local apps=()
192+
while IFS= read -r line; do
193+
[[ -n "$line" ]] && apps+=("$line")
194+
done < <(discover_apps)
193195

194196
if [[ ${#apps[@]} -eq 0 ]]; then
195197
print_warning "No demo applications found"

0 commit comments

Comments
 (0)