ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/pack/freebsd/libexec/diff.sh
(Generate patch)

Comparing:
freebsd/patch.sh (file contents), Revision 17 by douglas, 2007-08-15T21:14:26-07:00 vs.
freebsd/diff.sh (file contents), Revision 497 by douglas, 2012-02-19T17:36:49-08:00

# Line 2 | Line 2
2  
3   source "`dirname $0`/common.sh"
4  
5 < cd $category
5 > diff="diff/$category_port/$port.`date -u +%Y-%m-%dT%H%M%SZ`.diff"
6  
7 + svnmkdir `dirname $diff`
8   nomodeline
9 < diff -Nrux .svn -x work /usr/ports/$category_port $port | tee $port.patch
9 > (cd $category; diff -Nrux .svn -x work /usr/ports/$category_port $port) | tee $diff
10   modeline
11 + svn add $diff

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines