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 12 by douglas, 2007-06-13T04:37:30-07:00 vs.
freebsd/libexec/diff.sh (file contents), Revision 638 by douglas, 2013-12-01T00:41: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  
10 < cd $category
10 > function execute()
11 > {
12 >        tool git devel/git
13 >        tool svn devel/subversion
14 >        help diff
15  
16 < diff -Nrux .svn /usr/ports/$category_port $port | tee $port.patch
16 >        diff="diff/$category_port/$port.`date -u +%Y-%m-%dT%H%M%SZ`.diff"
17 >
18 >        svnmkdir `dirname $diff`
19 >        sanitize_freebsd_ids
20 >        (cd $category; diff -Nrux .svn -x work /usr/ports/$category_port $port) | tee $diff
21 >        unsanitize_freebsd_ids
22 >        svn add $diff
23 > }
24 >
25 > # vim: noexpandtab tabstop=4

Comparing:
freebsd/patch.sh (property svn:executable), Revision 12 by douglas, 2007-06-13T04:37:30-07:00 vs.
freebsd/libexec/diff.sh (property svn:executable), Revision 638 by douglas, 2013-12-01T00:41:17-08:00

# Line 1 | Line 0
1 *

Comparing:
freebsd/patch.sh (property svn:keywords), Revision 12 by douglas, 2007-06-13T04:37:30-07:00 vs.
freebsd/libexec/diff.sh (property svn:keywords), Revision 638 by douglas, 2013-12-01T00:41:17-08:00

# Line 0 | Line 1
1 + Id

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines