aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2005-09-03 06:42:11 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2005-09-03 06:42:11 +0000
commitad69811c172b720f88229b28bd7ee54e3c9461ad (patch)
tree44d71296b7ba2a2a1b8d232e5bd965de40033e5b /crypto
parent44bd2bc19a6ac6a4a8c3086df10f1ea61f7a81fb (diff)
downloadsrc-ad69811c172b720f88229b28bd7ee54e3c9461ad.tar.gz
src-ad69811c172b720f88229b28bd7ee54e3c9461ad.zip
fine-tune.
Notes
Notes: svn path=/head/; revision=149748
Diffstat (limited to 'crypto')
-rw-r--r--crypto/openssh/FREEBSD-tricks4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssh/FREEBSD-tricks b/crypto/openssh/FREEBSD-tricks
index b7b6ece800c7..fc0e1e768f3d 100644
--- a/crypto/openssh/FREEBSD-tricks
+++ b/crypto/openssh/FREEBSD-tricks
@@ -1,14 +1,14 @@
# $FreeBSD$
# Shell code to remove FreeBSD tags before merging
-grep -rl '\$Fre[e]BSD:' . >tags
+grep -rl '\$Fre[e]BSD:' . | grep -v FREEBSD >tags
cat tags | while read f ; do
sed -i.orig -e '/\$Fre[e]BSD:/d' $f
done
# Shell + Perl code to add FreeBSD tags wherever an OpenBSD or Id tag occurs
cat tags |
-xargs perl -n -i.orig -e 'print; s/\$(Id|OpenBSD): [^\$]*\$/\$Fre[e]BSD\$/ && print'
+xargs perl -n -i.orig -e 'print; s/\$(Id|OpenBSD): [^\$]*/\$FreeBSD/ && print'
# Shell code to reexpand FreeBSD tags
cat tags | while read f ; do