View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004090 | OpenFOAM | Bug | public | 2024-06-05 14:29 | 2024-06-18 07:50 |
Reporter | BrendenEpps | Assigned To | chris | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OpenFOAMv11 for MacOS | OS | Mac | OS Version | 10.14.6 |
Product Version | 11 | ||||
Summary | 0004090: openfoam11-macos throws error: "No directory exists:". | ||||
Description | The "openfoam11-macos" script has a simple bug causing it to throw the error: "No directory exists:". | ||||
Steps To Reproduce | In MacOS Terminal: sudo curl --create-dirs -o /usr/local/bin/openfoam11-macos http://dl.openfoam.org/docker/openfoam11-macos sudo chmod 755 /usr/local/bin/openfoam11-macos cd $HOME/openfoam openfoam11-macos * Result: Script throws error message "No directory exists:" (followed by Usage instructions). | ||||
Additional Information | * Cause of Error: The following block throws the error, because MOUNT_DIR is never defined (so it is treated as an empty string) [ -d "$MOUNT_DIR" ] || usage "No directory exists: $MOUNT_DIR" MOUNT_DIR=$(cd "$MOUNT_DIR" && pwd -P) * Solution: Delete the above two lines of code. | ||||
Tags | No tags attached. | ||||
|
Thanks. openfoam11-macos, openfoam10-macos and openfoam-dev-macos scripts are now corrected. https://dl.openfoam.org/docker/ |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-06-05 14:29 | BrendenEpps | New Issue | |
2024-06-11 09:42 | wyldckat | Assigned To | => chris |
2024-06-11 09:42 | wyldckat | Status | new => assigned |
2024-06-11 09:44 | wyldckat | Relationship added | related to 0004062 |
2024-06-18 07:50 | chris | Status | assigned => closed |
2024-06-18 07:50 | chris | Resolution | open => fixed |
2024-06-18 07:50 | chris | Note Added: 0013264 |