mail.sh: allow working without an shlib.sh
commitcbd19115a4d8639ed2058352619893a30fd4bccb
authorKyle J. McKay <mackyle@gmail.com>
Mon, 20 Nov 2017 23:53:05 +0000 (20 15:53 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 20 Nov 2017 23:53:05 +0000 (20 15:53 -0800)
tree0002779e3361f6bf2bc447e26bc07d2063d880ac
parentd7b662268778d8bbce438209828f609d1f9a934f
mail.sh: allow working without an shlib.sh

Allow the mail.sh script to be run without needing to
have a fully configured and installed shlib.sh file.

Since mail.sh is originally derived from the
post-receive-email hook script it was initially
intended to work without any shlib.sh in the first
place.

With only the very tiniest of adaptations, it can do
so again.

Having the ability to run mail.sh without needing an
installed and configured shlib.sh greatly facilitates
the testing of various ref change scenarios.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
taskd/mail.sh