#!/bin/sh -e
# Author: Jamie Strandboge <jamie@canonical.com>
# Copyright (C) 2009 Canonical, Ltd.
# License: GPLv3

loc=$(dirname "$0")

comment='Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug.  I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.'

for b in "$@"; do
    "$loc"/update-bug --not-security --comment "$comment" $b || {
        echo "ERROR with '$b'" >&2
    }
done

