🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by bill davidsen Thu, 14 Jan 1999 00:00
inn-2.2-STABLE - news.daily fix
#34692
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads