diff options
author | Richard Lowe <richlowe@richlowe.net> | 2010-08-23 22:22:42 -0400 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2010-08-23 22:22:42 -0400 |
commit | 2f54b716e4d3cb0dc99066638fed631e3cbec97c (patch) | |
tree | 5d17389d4205da5c811169c9a26399d62a59563c /usr/src/tools/scripts/webrev.sh | |
parent | e77c795bcbe51aebd7579fe13cbf2a6d56eca47f (diff) | |
download | illumos-gate-2f54b716e4d3cb0dc99066638fed631e3cbec97c.tar.gz |
43 development tools should be adjusted to understand the brave new world
Reviewed by: garrett@nexenta.com
Approved by: garrett@nexenta.com
Diffstat (limited to 'usr/src/tools/scripts/webrev.sh')
-rw-r--r-- | usr/src/tools/scripts/webrev.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/tools/scripts/webrev.sh b/usr/src/tools/scripts/webrev.sh index ebd6a577af..6ebb650de9 100644 --- a/usr/src/tools/scripts/webrev.sh +++ b/usr/src/tools/scripts/webrev.sh @@ -24,6 +24,8 @@ # Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. # +# Copyright 2008, 2010, Richard Lowe + # # This script takes a file list and a workspace and builds a set of html files # suitable for doing a code review of source changes via a web page. @@ -2773,7 +2775,8 @@ if [[ -z $nflag ]]; then # itsinfo["${p}_URL"]="<a href=\\\"${itsinfo[${p}_URL]}\\\">&</a>" - print "/^${p}[ ]/ { + # The character class below contains a literal tab + print "/^${p}[: ]/ { s;${itsinfo[${p}_REGEX]};${itsinfo[${p}_URL]};g s;^${p};${itsinfo[${p}_INFO]}; }" >> ${its_sed_script} @@ -2785,7 +2788,7 @@ if [[ -z $nflag ]]; then # for p in ${its_priority}; do print "/^${itsinfo[${p}_REGEX]}[ ]/ { - s;${itsinfo[${p}_REGEX]};${itsinfo[${p}_URL]};g + s;^${itsinfo[${p}_REGEX]};${itsinfo[${p}_URL]};g }" >> ${its_sed_script} done fi |