Skip to content

Commit

Permalink
Use 'svn list -R' instead of find, and recognize comments in shell sc…
Browse files Browse the repository at this point in the history
…ripts

and {ssh,sshd}_config.
  • Loading branch information
dag-erling committed Jan 19, 2016
1 parent c1ea5e1 commit 5ecdd3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/openssh/freebsd-pre-merge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

:>keywords
:>rcsid
find . -type f -name '*.[1-9ch]' | cut -c 3- | \
svn list -R | grep -v '/$' | \
while read f ; do
svn proplist -v $f | grep -q 'FreeBSD=%H' || continue
egrep -l '(\.\\"|/\*) \$FreeBSD[:\$]' $f >>keywords
egrep -l '^(#|\.\\"|/\*)[[:space:]]+\$FreeBSD[:\$]' $f >>keywords
egrep -l '__RCSID\("\$FreeBSD[:\$]' $f >>rcsid
done
sort -u keywords rcsid | xargs perl -n -i -e '
Expand Down

0 comments on commit 5ecdd3c

Please sign in to comment.