jobd/gc.sh: correct improper variable expansion
commit5cb69849a24657da6593a674c350bcaafccd43e6
authorKyle J. McKay <mackyle@gmail.com>
Sun, 3 Nov 2019 19:05:05 +0000 (3 12:05 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 3 Nov 2019 19:05:05 +0000 (3 12:05 -0700)
tree655ed8a177da0f3554b120fb6ca4fa7a39ec6f54
parent5a34bb5be25bafe0f0f2977db9372909639eb056
jobd/gc.sh: correct improper variable expansion

When building a bundle for a project that has no HEAD symref (i.e.
HEAD is detached), an alternative branch of code gets exercised.

Unfortunately there's been an unnoticed problem with that code for
some time.  The bundle will still be generated and still be usable,
but it will be HEADless.

Remove the offending character to enable correct bundle generation
in the presence of a detached HEAD.

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