mail.sh: tolerate running in a linked working tree
commit865bbf7e0ef9548d271fecc0c2962c3e01229698
authorKyle J. McKay <mackyle@gmail.com>
Tue, 14 Nov 2017 20:35:03 +0000 (14 12:35 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 14 Nov 2017 20:35:03 +0000 (14 12:35 -0800)
tree2c4a1507d1918ff3454ba8033fdfbe07824a5d56
parent60ab24c06a69a40b7edd0c55be6a4086d2d354f9
mail.sh: tolerate running in a linked working tree

The mail.sh script will not normally ever be run from within
a linked working tree.

However, such a feature could be useful for testing or perhaps
some special kind of customization.

Therefore support running from a current directory that is
located within a linked working tree.

Practically the only effect of this change is to show the
correct project description when run from a linked working
tree rather than "UNNAMED PROJECT" as nothing else is
sensitive to running from a linked working tree.

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