You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FDS 6.11.1_SMV-6.11.2: FDS6VARS.sh on macOS #16418
FDS6VARS.sh (part of the macOS release bundle under /Applications/FDS/FDS6/bin/) uses the == comparison operator inside single square brackets ([ "$PATH" == "" ]) in its if conditions. This is not POSIX-compliant syntax for the test command (only a single = is valid there). While bash silently accepts this as an extension, sourcing the script under zsh fails, because zsh tries to resolve the second = via its EQUALS expansion and cannot find a matching command.
Steps to reproduce the behavior:
Install FDS6 on macOS (installation path: /Applications/FDS/FDS6/)
Use zsh as the default shell
Add/execute the following line in .zprofile: source /Applications/FDS/FDS6/bin/FDS6VARS.sh
Restart the terminal or run source .zprofile
The following error appears: /Applications/FDS/FDS6/bin/FDS6VARS.sh:3: = not found
Expected behavior
The script should run without errors and correctly set the environment variables (PATH, DYLD_LIBRARY_PATH, OPAL_PREFIX, TMPDIR, OMP_NUM_THREADS), regardless of whether it is sourced with bash or zsh.
Activity
rmcdermo commentedon Jul 15, 2026
Thanks @gjaeger , we will get on fixing it asap. We all use bash. So, zsh is a gap in our workflow we need to fix.
rmcdermo commentedon Jul 15, 2026
@gjaeger I trust you have thing working manually on your end in terms of using v6.11.1 of the code, though, correct?
gjaeger commentedon Jul 15, 2026
@rmcdermo The suggested fix works for me with zsh as my default shell.
rmcdermo commentedon Aug 28, 2026
@gjaeger Hi Gregor. Can you please check to see if the latest nightly bundle install works for you? I am not sure where this issue stands. Thanks
https://github.com/firemodels/test_bundles/releases/tag/FDS_TEST
gforney commentedon Aug 28, 2026
Note the mac bundles are currently not being built. Hopefully this will be fixed next week