summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2005-09-03 06:42:11 +0000
committerdes <des@FreeBSD.org>2005-09-03 06:42:11 +0000
commitf0dcade643f0a60a2e51a1e6f7813261a68e5583 (patch)
tree44d71296b7ba2a2a1b8d232e5bd965de40033e5b /crypto
parentad48f842980e7e853ec9f928d6746e7b8d698193 (diff)
downloadFreeBSD-src-f0dcade643f0a60a2e51a1e6f7813261a68e5583.zip
FreeBSD-src-f0dcade643f0a60a2e51a1e6f7813261a68e5583.tar.gz
fine-tune.
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 b7b6ece..fc0e1e7 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
OpenPOWER on IntegriCloud