Skip to content

Add mac compatibility, fix a couple bugs#3

Closed
mcblum wants to merge 6 commits into
mainfrom
mcblum/fix/bugs
Closed

Add mac compatibility, fix a couple bugs#3
mcblum wants to merge 6 commits into
mainfrom
mcblum/fix/bugs

Conversation

@mcblum
Copy link
Copy Markdown
Owner

@mcblum mcblum commented Mar 4, 2026

Found a couple bugs and also needed to make the lib Mac compatible

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 closed this Mar 4, 2026
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