On Fri, 30 Jun 2006, Dylan Martin wrote:
If there is a better or best way to do this, let me know!

You could try something like :

#!/bin/sh

DESTDIR=/tmp/sendmail

mtree -qdef /etc/mtree/4.4BSD.dist -p ${DESTDIR}/ -u
touch ${DESTDIR}/timestamp
cd /path_to_sendmail_src
env DESTDIR=${DESTDIR} make -f Makefile.bsd-wrapper install
cd ${DESTDIR}
find . \! -name "plist" -newer timestamp -type f > plist
cat plist | xargs tar czpf ${DESTDIR}/patch.tgz

--
Antoine

Reply via email to