Article View: news.software.nntp
Article #34638inn-2.2-STABLE - news.daily fix
From: bill davidsen
Date: Wed, 13 Jan 1999 00:00
Date: Wed, 13 Jan 1999 00:00
30 lines
1723 bytes
1723 bytes
The news.daily script doesn't properly use the user defined temp space
for sorts. There's some logic to look and see if TMPDIR is defined,
build the -T option for sort to use, and then ignore the whole issue.
Posted and mailed, it's tiny and might save someone a LOT of time.
================================================================
29a30
> SORT=sort
404,405c405,406
< test -n "${TMPDIR}" && T="-T ${TMPDIR}"
< sort -u -o ${RMFILE} ${RMFILE}
---
> test -n "${TMPDIR}" && SORT="${SORT} -T ${TMPDIR}"
> ${SORT} -u -o ${RMFILE} ${RMFILE}
407c408
< sort -u -o ${INDEXFILE} ${INDEXFILE}
---
> ${SORT} -u -o ${INDEXFILE} ${INDEXFILE}
435c436
< sort -u -o ${INDEXFILE} ${INDEXFILE}
---
> ${SORT} -u -o ${INDEXFILE} ${INDEXFILE}
================================================================
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
"Too soon we grow old, and too late we grow smart" -Arthur Godfrey
Technical Details
Message-ID:
<77j974$a0aq$1@newssvr03-int.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <77j974$a0aq$1@newssvr03-int.news.prodigy.com> Subject: inn-2.2-STABLE - news.daily fix Date: Wed, 13 Jan 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 432316610 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr03-int.news.prodigy.com 916269092 328026 199.4.137.118 (13 Jan 1999 23:11:32 GMT) Organization: TMR Associates, Schenectady NY NNTP-Posting-Date: 13 Jan 1999 23:11:32 GMT Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com