tg.sh: avoid running pre-commit hook multiple times
commit8786f14296b780acee31543799fe6bcf608695b8
authorKyle J. McKay <mackyle@gmail.com>
Thu, 19 Mar 2015 22:25:16 +0000 (19 15:25 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 19 Mar 2015 22:25:16 +0000 (19 15:25 -0700)
tree57b26236ff6be8691d03f15f16d89058110b37db
parent0833caed5a47af8b2d9c7dca5d22d8eef6a53fc6
tg.sh: avoid running pre-commit hook multiple times

Be sure to use "basename $0" when checking to see
if tg is installed rather than $tg which can vary.

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