Skip to content

Fix bugs and add Mac compatibility#4

Merged
mcblum merged 6 commits into
mainfrom
mcblum/fix/bugs
Mar 4, 2026
Merged

Fix bugs and add Mac compatibility#4
mcblum merged 6 commits into
mainfrom
mcblum/fix/bugs

Conversation

@mcblum
Copy link
Copy Markdown
Owner

@mcblum mcblum commented Mar 4, 2026

No description provided.

mcblum added 6 commits March 4, 2026 10:46
- Add conditional -g flag support for declare (bash 4.2+ compatibility)
- Fix test runner filename parsing bug
- Fix test_flex_ini_keys array capturing issue
- Explicitly use bash shell in GitHub Actions workflow
- Revert to original declare -gA syntax that was working before
- Add _OS variable to detect macOS/Linux/unknown at startup
- Use OS detection for stat command selection instead of inline uname checks
- Update compatibility test to use OS detection
- Support for future OS-specific features
- Add script to check bash version and declare support
- Temporarily add to workflow to diagnose macOS bash issues
- Add bash version check using BASH_VERSINFO
- Provide helpful error message with brew install instructions for macOS
- Install newer bash via brew in GitHub Actions for macOS
- Simplify code by removing conditional declare logic
@mcblum mcblum merged commit ae3d1c6 into main Mar 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant