Subject: Re: Old packages version in 'work' directory
To: David K Brownlee <abs@anim.dreamworks.com>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 07/25/1999 01:36:00
P.S.: what I use in bsd.hf-pkg.mnk is:
nnewfiles=`find . -type f -newer "${REF}" -print | grep -v ${WRKDIR} | wc -l` ; \
if [ $$nnewfiles -gt 0 ]; then \
${ECHO_MSG} >&2 ">> Package ${PKGNAME} modified since last 'make package', re-packaging..." ; \
fi
I use the binary package as REF to see if the package was modified
since then... something similar may work here.
--
NetBSD - Better for your uptime than Viagra