diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-09-19 11:29:51 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-09-19 11:29:51 +0000 |
commit | da26b3794a06948b0b6f6abf65e594ceea73370a (patch) | |
tree | 211782306ad56783be36dde83c548434cf2ca4a5 /crypto | |
parent | 44eca34adb357243ee32c7a9471b57eba6dc0bb5 (diff) | |
download | src-test2-da26b3794a06948b0b6f6abf65e594ceea73370a.tar.gz src-test2-da26b3794a06948b0b6f6abf65e594ceea73370a.zip |
Notes
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/openssh/FREEBSD-tricks | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssh/FREEBSD-tricks b/crypto/openssh/FREEBSD-tricks index fdf78c7058fa..4ae543986b3f 100644 --- a/crypto/openssh/FREEBSD-tricks +++ b/crypto/openssh/FREEBSD-tricks @@ -2,7 +2,7 @@ # Shell code to remove FreeBSD tags before merging grep -rl '\$Fre.BSD:' . >tags -while read f < tags ; do +cat tags | while read f ; do sed -i.orig -e '/\$Fre.BSD:/d' $f done @@ -11,7 +11,7 @@ cat tags | xargs perl -n -i.orig -e 'print; s/\$(Id|OpenBSD): [^\$]*\$/\$FreeBSD\$/ && print' # Shell code to reexpand FreeBSD tags -while read f < tags ; do +cat tags | 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 ; |