Subject: Re: Use of /tmp in /etc/{daily,weekly,monthly,security}
To: Takahiro Kambe <taca@back-street.net>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-userlevel
Date: 06/05/2007 09:30:51
Takahiro Kambe wrote:
>> --- daily 17 Dec 2006 23:24:09 -0000 1.69
>> +++ daily 5 Jun 2007 06:09:04 -0000
>> @@ -38,8 +38,8 @@
>> #
>> #echo ""
>> #echo "Removing scratch and junk files:"
>> -#if [ -d /tmp -a ! -h /tmp ]; then
>> -# cd /tmp && {
>> +#if [ -d ${TMPDIR:="/tmp"} -a ! -h ${TMPDIR:="/tmp"} ]; then
>> +# cd ${TMPDIR:="/tmp"} && {
> Though this is comment-outed part, I think that this change assumes
> TMPDIR is defined for all processes. If setting TMPDIR in
You are right, I removed these changed.