# This is a file to be sourced by csh scripts to set tmpdir
# The heirarchy is to use IMOD_TMPDIR
set tmpdir = /usr/tmp
if ($?IMOD_TMPDIR) then
    if (-w "$IMOD_TMPDIR") set tmpdir = "$IMOD_TMPDIR"
endif
if (! -w "$tmpdir") set tmpdir = /tmp
if (! -w "$tmpdir") set tmpdir = .
set cygthere = `uname | sed -n '/CYGWIN/p'`
if ($cygthere != "") set tmpdir = `cygpath -m "$tmpdir"`
