This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

typo in package cloc-1.82, file /usr/bin/cloc, prevents its use


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]