#! /bin/sh -e case $1 in subversion) ROOT='http://subversion.tigris.org/issues' ;; openssh) ROOT='http://bugzilla.mindrot.org' ;; warthogs) ROOT='http://bugzilla.warthogs.hbd.com/bugzilla' ;; ubuntu) ROOT='http://bugzilla.ubuntu.com' ;; gnome) ROOT='http://bugs.gnome.org' ;; mozilla) ROOT='http://bugzilla.mozilla.org' ;; redhat) ROOT='http://bugzilla.redhat.com/bugzilla' ;; kernel) ROOT='http://bugzilla.kernel.org' ;; freedesktop) ROOT='http://bugs.freedesktop.org' ;; *) echo "Unknown Bugzilla installation '$1'. Recognized are:" >&2 echo ' subversion' >&2 echo ' openssh' >&2 echo ' warthogs' >&2 echo ' ubuntu' >&2 echo ' gnome' >&2 echo ' mozilla' >&2 echo ' redhat' >&2 echo ' kernel' >&2 echo ' freedesktop' >&2 exit 1 ;; esac ${BROWSER:-w3m} "$ROOT/show_bug.cgi?id=$2"