update.sh: set mail address before bad URL check
commit605e103a1c1e3ea6e465fcb007b1e6874699464a
authorKyle J. McKay <mackyle@gmail.com>
Wed, 10 Sep 2014 08:50:06 +0000 (10 01:50 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 10 Sep 2014 08:50:06 +0000 (10 01:50 -0700)
tree505da294c50aeeae7528f4c18db1f00a2ca4b6f7
parentc6537e117795636fc6eb222e07d39690cbe3ab1e
update.sh: set mail address before bad URL check

In 85fd970f update.sh and clone.sh learned to abort early if the
mirror from URL is obviously bad.  However, in order for the
failure message to be sent in the update.sh case, the "mail"
variable must be set prior to the error.

So set the "mail" variable first thing before doing anything else.
jobd/update.sh