🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34692

inn-2.2-STABLE - news.daily fix

#34692
From: bill davidsen
Date: Thu, 14 Jan 1999 00:00
30 lines
1732 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: <199901132311.SAA05916@darkstar.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-mail

Show Full Headers
Complete Article Headers
Message-ID: <199901132311.SAA05916@darkstar.prodigy.com>
Subject: inn-2.2-STABLE - news.daily fix
Date: Thu, 14 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: 432521064
Distribution: volga
Approved: newsadm@simtel.ru
Sender: news-server@simtel.ru (ExServ V05.03.13)
Organization: TMR Associates, Schenectady NY
X-CRC-ID: :885e1acb:4950a47a:a04554e6:
Reply-To: davidsen@tmr.com
Newsgroups: mvis.lists.usenet.inn,news.software.nntp
X-Return-Path: <owner-inn-workers@isc.org>