opnsense-src/crypto/openssh/FREEBSD-tricks

15 lines
461 B
Text
Raw Normal View History

2002-10-29 04:56:16 -05:00
# $FreeBSD$
# Shell code to remove FreeBSD tags before merging
2005-09-03 02:42:11 -04:00
grep -rl '\$Fre[e]BSD:' . | grep -v FREEBSD >tags
2003-09-19 07:29:51 -04:00
cat tags | while read f ; do
sed -i.orig -e '/\$Fre[e]BSD:/d' $f
2002-10-29 04:56:16 -05:00
done
# Shell + Perl code to add FreeBSD tags wherever an OpenBSD or Id tag occurs
cat tags |
2005-09-03 02:42:11 -04:00
xargs perl -n -i.orig -e 'print; s/\$(Id|OpenBSD): [^\$]*/\$FreeBSD/ && print'
2002-10-29 04:56:16 -05:00
# Diff against vendor branch
svn diff --no-diff-deleted --old=$FSVN/vendor-crypto/openssh/dist/ --new=.