diff --git a/scripts/bugzilla-create b/scripts/bugzilla-create index c643f39..4c6f8e3 100755 --- a/scripts/bugzilla-create +++ b/scripts/bugzilla-create @@ -96,18 +96,14 @@ Notes: * The patch will be updated with new references prior to upload. * Use of this script requires a ~/.bugzillarc with the following contents: [apibugzilla.suse.com] - user = - password = - authtype = basic + api_key = your_api_key END exit $1 } # Defaults EMAIL="$(git config user.email)" -if [ "${EMAIL}" != "${EMAIL%%*@suse.com}" ]; then - EMAIL="${EMAIL%%@*}@suse.com" -fi +EMAIL="${EMAIL%%@*}@suse.com" . $(dirname $0)/../rpm/config.sh PRODUCT="${BUGZILLA_PRODUCT}"