On Fri, Jul 03, 2009 at 08:39:04AM +0100, Edd Barrett wrote:
> On Fri, Jul 03, 2009 at 08:26:57AM +0200, Merljin wrote:
> > Another quick question - it is possible to update all outdated ports
> > with one command ?
> 
> You could easily parse the output of out-of-date and run 'make update'
> in the out of date directories.
> 
> I wonder if you could add this functionailty to out-of-date? During
> release time there are no binary packages for snapshots, so it has a
> valid use.

$ cat `which ood`
#!/bin/sh
OOD="`mktemp -t ood.XXXX`"
cd /usr/ports
./infrastructure/build/out-of-date | tee "$OOD"
make SUBDIRLIST="$OOD" update
rm "$OOD"

-- 
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to