Feature #154
prefer TMPDIR
| Status : | Resolved | Start : | 10/04/2009 | |
| Priority : | Normal | Due date : | ||
| Assigned to : | - | % Done : | 0% |
|
| Category : | - | |||
| Target version : | - | |||
Description
TMPDIR should be preferred.
If /tmp is preffered, we cannot specify the temporary directory on Unix
because /tmp is always exist.
If we can specify the temporary directory, we can remove garbage temporary files easily
even when ruby terminated abnormally as:
mkdir $HOME/rubyspec.tmp.$$
TMPDIR=$HOME/rubyspec.tmp.$$ ruby mspec ...
rm -rf $HOME/rubyspec.tmp.$$
