This is the mail archive of the
cygwin
mailing list for the Cygwin project.
typo in package cloc-1.82, file /usr/bin/cloc, prevents its use
- From: Al Danial <al at danial dot org>
- To: cygwin at cygwin dot com
- Date: Sat, 30 Nov 2019 09:51:21 -0800
- Subject: typo in package cloc-1.82, file /usr/bin/cloc, prevents its use
- Reply-to: al at danial dot org
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