Skip to content

Commit

Permalink
Fix issue with tmpdir at NAS
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed May 24, 2023
1 parent 6cee461 commit f376101
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
### Added

## [4.9.3] - 2023-05-24

### Fixed

- Fixed issue with tmpdir at NAS

## [4.9.2] - 2023-05-18

### Changed
Expand Down
4 changes: 3 additions & 1 deletion build.csh
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ if ( $SITE == NAS ) then

# TMPDIR needs to be reset
#-------------------------
if (! "$tmpdir") then
if ($tmpdir == '') then
set tmpdirDFLT = "/nobackup/$USER/scratch/"
if ($prompt) then
echo ""
Expand All @@ -358,6 +358,8 @@ if ( $SITE == NAS ) then
echo -n "TMPDIR [$tmpdirDFLT] "
setenv tmpdir $<
if ("$tmpdir" == "") setenv tmpdir $tmpdirDFLT
else
setenv tmpdir $tmpdirDFLT
endif
endif
echo "TMPDIR: $tmpdir"
Expand Down

0 comments on commit f376101

Please sign in to comment.