diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-02-24 15:58:47 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-02-25 00:00:54 +0000 |
commit | 57048843e9393222241f5f3dc897875fe1a9dcd5 (patch) | |
tree | fedf43494942e7ab1a69dfdd66ec3321bea7c2a2 /tools/gen-bugnote | |
parent | 58db464afff5ae91e7ff624bd6edd6d5da88f73c (diff) | |
download | wireshark-57048843e9393222241f5f3dc897875fe1a9dcd5.tar.gz |
"tools" updates.
Remove backport-change. It didn't work as well as I had hoped. Remove
backport-rev since we don't use Subversion any more. Remove DocBook
code from gen-bugnote.
Change-Id: I70f39444c6cdd380301691f64d27147ac09e5cae
Reviewed-on: https://code.wireshark.org/review/348
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'tools/gen-bugnote')
-rwxr-xr-x | tools/gen-bugnote | 33 |
1 files changed, 3 insertions, 30 deletions
diff --git a/tools/gen-bugnote b/tools/gen-bugnote index e91fabfb4b..b6960a8353 100755 --- a/tools/gen-bugnote +++ b/tools/gen-bugnote @@ -22,19 +22,6 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -output_fmt="docbook" -if [ -f release-notes.asciidoc -o -f docbook/release-notes.asciidoc ] ; then - output_fmt="asciidoc" -fi - -while getopts "o:" OPT ; do - case $OPT in - o) output_fmt=$OPTARG - ;; - esac -done -shift $(($OPTIND - 1)) - bz_url_pfx="https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=" bug_id="$1" @@ -71,22 +58,8 @@ bug_title=` -e 's/[^\.]$/&./' \ ` -case "$output_fmt" in - asciidoc) - echo -e "* $bug_title (ws-buglink:$bug_id[])\n" \ - | $recode_cmd \ - | $clipboard_cmd - ;; - docbook) -$clipboard_cmd <<Fin - <listitem><para> - $bug_title - (<ulink url="https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=$bug_id">Bug - $bug_id</ulink>) - </para></listitem> - -Fin - ;; -esac +echo -e "* $bug_title (ws-buglink:$bug_id[])\n" \ + | $recode_cmd \ + | $clipboard_cmd echo "Copied $bug_id: $bug_title" |