hi, I'm the author of https://github.com/AlDanial/cloc

I helped a friend install CygWin a couple of days ago and
was pleased to see a package for cloc included.  I installed it
but found that it fails to run because the pound-bang line
of /usr/bin/cloc has been changed to

#!/usr/bin/perl perl

which generates an error when attempting to run cloc,
Can't open perl script "perl": No such file or directory.
The pound bang line needs to be changed to either

#!/usr/bin/env perl

or just

#!/usr/bin/perl

btw, I'm referring to
https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fcloc%2Fcloc-1.82%2B20190726%2Bgit608f376-1&grep=cloc

           -- Al

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to