Files
ai-recruit-site-template/deploy-to-apps.example.sh
Mikael Westöö 0fce839b7c Fix POSIX shell compatibility in deployment script
- Replace bash-specific &> with >/dev/null 2>&1
- Replace bash-specific == with POSIX-compliant = in [ ] tests
- Script now works with both sh and bash
- Fixes "unexpected operator" errors when run with sh

Issue: User ran script with 'sh' instead of 'bash', causing errors
Root cause: Bash-specific syntax (== and &>) not compatible with POSIX sh
Solution: Use POSIX-compliant alternatives that work in both shells
2026-01-24 19:58:32 +01:00

20 KiB