Fixes date command errors on macOS with Homebrew GNU coreutils: - 'date: invalid option -- v' when GNU date runs BSD syntax - 'syntax error in expression' when stat returns filesystem metadata Changes: - Replace uname-based detection with capability detection (try/fallback) - Try GNU commands first, fall back to BSD, then ultimate fallbacks - Add date -r fallback for file mtime (most portable) This handles mixed environments where uname returns "Darwin" but GNU coreutils are in PATH from Homebrew. Credit: @farce1 (PR #119) |
||
|---|---|---|
| .. | ||
| circuit_breaker.sh | ||
| date_utils.sh | ||
| enable_core.sh | ||
| response_analyzer.sh | ||
| task_sources.sh | ||
| timeout_utils.sh | ||
| wizard_utils.sh | ||