1. 31 Mar, 2017 2 commits
    • mark's avatar
      STYLE: use hard-coded user resource directory name for foamEtcFile · bd763c2b
      mark authored
      - previously used the value of $WM_PROJECT, but this is potentially
        inconsistent with what Foam::etcFiles uses.
      bd763c2b
    • mark's avatar
      ENH: various general improvments to the POSIX functions · 3a4038b2
      mark authored
      - ensure proper and sensible handling of empty names.
        Eg, isDir(""), isFile("") are no-ops, and avoid file-stat
      
      - rmDir:
        * optional 'silent' option to suppress messages.
        * removes all possible sub-entries, instead of just giving up on
          the first problem encountered.
      
      - reduced code duplication in etcFiles
      
      ENH: provide WM_USER_RESOURCE_DIRNAME define (in foamVersion.H)
      
      - this is still a hard-coded value, but at least centrally available
      3a4038b2
  2. 30 Mar, 2017 5 commits
  3. 27 Mar, 2017 1 commit
  4. 24 Mar, 2017 1 commit
  5. 23 Mar, 2017 2 commits
    • mark's avatar
      ENH: several improvements to foamEtcFile · 17084917
      mark authored
      - lazier evaluation of project name and version based on the directory
        name. Avoids heuristics based on directory names unless really needed.
      
      - cope with alternative directory locations.
        For example, OpenFOAM+VERSION etc.
      
      The combination of the two above appears to be sufficient to open up
      the directory naming possibilities.
      
      - additional -list-test option (tests for existence of directory).
      17084917
    • mark's avatar
      STYLE: suppress unalias warnings/errors · 74fbef36
      mark authored
      - cleanup variables last in etc/bashrc for a clean exit code
      74fbef36
  6. 22 Mar, 2017 12 commits
  7. 21 Mar, 2017 13 commits
  8. 17 Mar, 2017 1 commit
  9. 15 Mar, 2017 3 commits