]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - crypto/openssh/FREEBSD-tricks
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / crypto / openssh / FREEBSD-tricks
1 # $FreeBSD$
2
3 # Shell code to remove FreeBSD tags before merging
4 grep -rl '\$Fre[e]BSD:' . | grep -v FREEBSD >tags
5 cat tags | while read f ; do
6     sed -i.orig -e '/\$Fre[e]BSD:/d' $f
7 done
8
9 # Shell + Perl code to add FreeBSD tags wherever an OpenBSD or Id tag occurs
10 cat tags |
11 xargs perl -n -i.orig -e 'print; s/\$(Id|OpenBSD): [^\$]*/\$FreeBSD/ && print'
12
13 # Diff against vendor branch
14 svn diff --no-diff-deleted --old=$FSVN/vendor-crypto/openssh/dist/ --new=.