File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 1.0.1] - 2025-11-20
4+
5+ ### Changed
6+ - Improved compatibility by replacing ` mapfile ` with more widely supported bash syntax
7+
38## [ 1.0.0] - 2025-11-17
49
510Initial release - Simple AWS SSM connect tool for EC2 instances.
Original file line number Diff line number Diff line change 1- 1.0.0
1+ 1.0.1
Original file line number Diff line number Diff line change 1010
1111set -eu
1212
13- VERSION=" 1.0.0 "
13+ VERSION=" 1.0.1 "
1414SCRIPT_NAME=" $( basename " $0 " ) "
1515
1616# Colors for output
@@ -240,7 +240,10 @@ main() {
240240 exit 1
241241 fi
242242
243- mapfile -t LINES <<< " $INSTANCES"
243+ LINES=()
244+ while IFS= read -r line; do
245+ LINES+=(" $line " )
246+ done <<< " $INSTANCES"
244247
245248 # If only one instance found, connect directly
246249 if [ " ${# LINES[@]} " -eq 1 ]; then
You can’t perform that action at this time.
0 commit comments