View Issue Details

IDProjectCategoryView StatusLast Update
0004090OpenFOAMBugpublic2024-06-18 07:50
ReporterBrendenEpps Assigned Tochris  
Status closedResolutionfixed 
PlatformOpenFOAMv11 for MacOSOSMacOS Version10.14.6
Product Version11 
Summary0004090: openfoam11-macos throws error: "No directory exists:".
DescriptionThe "openfoam11-macos" script has a simple bug causing it to throw the error: "No directory exists:".
Steps To ReproduceIn MacOS Terminal:
    sudo curl --create-dirs -o /usr/local/bin/openfoam11-macos
    sudo chmod 755 /usr/local/bin/openfoam11-macos
    cd $HOME/openfoam

* 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.
TagsNo tags attached.


related to 0004062 closedchris openfoam10-macos needs modification to run 



2024-06-18 07:50

manager   ~0013264

Thanks. openfoam11-macos, openfoam10-macos and openfoam-dev-macos scripts are now corrected.

Issue History

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