Girocco/Project.pm: make has_alternates function smarter
commite4211014b4b0aea7e557af6a6b17fb25c09928d5
authorKyle J. McKay <mackyle@gmail.com>
Fri, 22 Nov 2019 19:09:56 +0000 (22 12:09 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 22 Nov 2019 19:09:56 +0000 (22 12:09 -0700)
tree243199b556b20a34080fb17226c6431655c78739
parent2b148c131fdcdc2c7678342e8aaef606dc31a8ba
Girocco/Project.pm: make has_alternates function smarter

Give the has_alternates function the same smarts that the
new shlib.sh is_empty_alternates_file shell function has.

In other words, avoid false positives when the alternates
file contains only blank lines and comments.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/Project.pm