diff options
Diffstat (limited to 'crypto/openssh/FREEBSD-tricks')
| -rw-r--r-- | crypto/openssh/FREEBSD-tricks | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/crypto/openssh/FREEBSD-tricks b/crypto/openssh/FREEBSD-tricks deleted file mode 100644 index 72341262d41d..000000000000 --- a/crypto/openssh/FREEBSD-tricks +++ /dev/null @@ -1,20 +0,0 @@ -# $FreeBSD$ - -# Shell code to remove FreeBSD tags before merging -grep -rl '\$Fre.BSD:' . | -while read f ; do - sed -i.orig -e '/\$Fre.BSD:/d' $f -done - -# Shell + Perl code to add FreeBSD tags wherever an OpenBSD or Id tag occurs -egrep -rl '\$(Id|OpenBSD):' . | -xargs perl -n -i.orig -e 'print; s/\$(Id|OpenBSD): [^\$]*\$/\$FreeBSD\$/ && print' - -# Shell code to reexpand FreeBSD tags -grep -rl '\$FreeBSD\$' . | -while read f ; do - id=$(cvs diff $f | grep '\$Fre.BSD:' | sed 's/.*\(\$Fre.BSD:.*\$\).*/\1/') ; - if [ -n "$id" ] ; then - sed -i.orig -e "s@\\\$Fre.BSD\\\$@$id@" $f ; - fi ; -done |
