View Issue Details

IDProjectCategoryView StatusLast Update
0002636OpenFOAMBugpublic2017-07-27 14:17
ReporterStephanG Assigned Tohenry  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformUnixOSCentOSOS Version7
Summary0002636: Sourcing bashrc using the ksh shell in 5.0
DescriptionI tried sourcing the bashrc with the standard shell on our cluster, which is ksh and got the following error:

dirname: invalid option -- 'k'
Try `dirname --help' for more information.
-ksh: .[136]: .: //OpenFOAM-5.0/etc/config.sh/functions: cannot open [No such file or directory]

Changing the shell to bash yields no error. I have only done a quick test and am therefore not sure what causes this.
Steps To ReproduceSettiing the line "export FOAM_INST_DIR=..." from $HOME to /opt and souring the bashrc
TagsNo tags attached.

Activities

henry

2017-07-27 14:17

manager   ~0008458

Resolved in OpenFOAM-5.x by commit c66fba323c348012c2d4a75b9091406e1b3bcc31

Resolved in OpenFOAM-dev by commit 84e27cb356958c5b8981d33acac81eed02c8edb9

Issue History

Date Modified Username Field Change
2017-07-27 08:16 StephanG New Issue
2017-07-27 14:17 henry Assigned To => henry
2017-07-27 14:17 henry Status new => resolved
2017-07-27 14:17 henry Resolution open => fixed
2017-07-27 14:17 henry Fixed in Version => 5.x
2017-07-27 14:17 henry Note Added: 0008458