--On Tuesday, March 13, 2007 23:26:26 -0700 Nate Eldredge <[EMAIL PROTECTED]> wrote:

Hi all,

portsnap is a very nice way to keep your ports tree in sync, but it has
the disadvantage that it keeps your ports tree in sync :)  If you make
local changes (e.g. adding a patch) they get clobbered.  Does anyone know
of a convenient way to keep ports up to date while preserving local
patches?

That's why God made shell scripting???

if [ -f ${port/path/mypatch} ]; then
 cp $mypatch ${port/path/mypatch}
fi

Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

Reply via email to