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

loc=$(dirname "$0")

comment='Thanks for your comments. This does not appear to be a bug report and we are closing it. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker.   Please visit https://answers.launchpad.net/ubuntu/+addquestion'

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

