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

Comparing:
freebsd/diff.sh (file contents), Revision 558 by douglas, 2013-01-20T15:18:18-08:00 vs.
freebsd/libexec/diff.sh (file contents), Revision 639 by douglas, 2013-12-01T22:35:17-08:00

# Line 1 | Line 1
1   #!/usr/local/bin/bash
2 + # Diff
3 + #
4 + # Douglas Thrift
5 + #
6 + # $Id$
7  
8 < source "`dirname $0`/common.sh"
8 > summary='Create a diff patch of a port'
9 > declare -A options
10 > declare -A arguments
11  
12 < diff="diff/$category_port/$port.`date -u +%Y-%m-%dT%H%M%SZ`.diff"
12 > function execute()
13 > {
14 >        tool git devel/git
15 >        tool svn devel/subversion
16 >        help diff
17  
18 < svnmkdir `dirname $diff`
19 < (cd $category; diff -I '\$FreeBSD.*\$' -Nrux .svn -x work /usr/ports/$category_port $port) | tee $diff
20 < svn add $diff
18 >        diff="diff/$category_port/$port.`date -u +%Y-%m-%dT%H%M%SZ`.diff"
19 >
20 >        svnmkdir `dirname $diff`
21 >        sanitize_freebsd_ids
22 >        (cd $category; diff -Nrux .svn -x work /usr/ports/$category_port $port) | tee $diff
23 >        unsanitize_freebsd_ids
24 >        svn add $diff
25 > }
26 >
27 > # vim: noexpandtab tabstop=4

Comparing:
freebsd/diff.sh (property svn:executable), Revision 558 by douglas, 2013-01-20T15:18:18-08:00 vs.
freebsd/libexec/diff.sh (property svn:executable), Revision 639 by douglas, 2013-12-01T22:35:17-08:00

# Line 1 | Line 0
1 *

Comparing:
freebsd/diff.sh (property svn:keywords), Revision 558 by douglas, 2013-01-20T15:18:18-08:00 vs.
freebsd/libexec/diff.sh (property svn:keywords), Revision 639 by douglas, 2013-12-01T22:35:17-08:00

# Line 0 | Line 1
1 + Id

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines