REINPLACE_CMD file curruption

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Mon Apr 12 08:17:57 PDT 2004


Hi,

while doing some patching on the now removed Mosaic port I had seen
currupted files from REINPLACE_CMD on a HEAD machine (world from
2004-04-08). Some files had been shortened, others had size of zero
and some went fine.

changing the REINPLACE_CMD to

.for file in $(file_list)
	cp file file.bak
	sed -e '....' < file.bak > file
.endfor

worked without problems for all files.

Anybody else seen problems with REINPLACE_CMD lately ?

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74				http://www.zabbadoz.net/


More information about the freebsd-ports mailing list