From 1cb6c2ecd969fb3abf9013bea637516f16341202 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Sun, 14 Feb 2010 01:39:53 +0100 Subject: [PATCH] .deb nightly builds: Make contact e-mail address configurable ... and provide a sane default which does not point to myself but nirvana. --- contrib/debian/nightlybuild.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/contrib/debian/nightlybuild.sh b/contrib/debian/nightlybuild.sh index 4ea3537..97899cf 100755 --- a/contrib/debian/nightlybuild.sh +++ b/contrib/debian/nightlybuild.sh @@ -28,12 +28,14 @@ # lines like the following into it: # # WORKDIR=/path/to/the/directory/where/the/builds/should/happen +# CONTACT=you@example.com # # Example ~/.conkeror-nightlybuildrc similar to the one used for the # initial builds on http://noone.org/conkeror-nightly-debs/: # # # -*- sh -*- # WORKDIR=$HOME/conkeror.nightly +# CONTACT=abe+conkeror-nightly@noone.org # SIGNKEY=373B76B4 # UPLOAD=yes # UPLOAD_SSH_KEY=~/.ssh/id_rsa.conkeror-nightly @@ -48,6 +50,7 @@ # # # -*- sh -*- # WORKDIR=$HOME/conkeror.nightly +# CONTACT=abe+conkeror-nightly@noone.org # SIGNKEY=373B76B4 # UPLOAD=yes # UPLOAD_SSH_KEY=~/.ssh/id_rsa.conkeror-nightly @@ -80,6 +83,11 @@ if [ -z "$WORKDIR" ]; then exit 2 fi +# Check if a contact is defined. Set a dummy value if not. +if [ -z "$CONTACT" ]; then + CONTACT=package-builder-has-not-set-contact-address@example.com +fi + # Check if $WORKDIR exists, otherwise create it. if [ ! -d "$WORKDIR" ]; then mkdir -p "$WORKDIR" @@ -177,7 +185,7 @@ else * Automatically built package based on the state of http://repo.or.cz/w/conkeror.git at $DATE - -- Conkeror Nightly Build $DATE + -- Conkeror Nightly Build <$CONTACT> $DATE " > changelog cat changelog.tmp >> changelog rm changelog.tmp -- 2.11.4.GIT