--- cloc.orig 2025-08-21 22:59:41.886334500 +0200 +++ cloc 2025-08-21 22:39:31.481069300 +0200 @@ -1,2 +1,2 @@ -#!/usr/bin/perl perl +#!/usr/bin/env perl # cloc -- Count Lines of Code {{{1
This was already reported in (!) https://cygwin.com/pipermail/cygwin/2012-February/200443.html for cloc 1.55-1 (albeit with a different suggested fix). Upstream shebang has been `#!/usr/bin/env perl`, unmodified since initial SVN commit in 2006 (available on SourceForge). It seems that there's a Cygwin-specific maintainer script that needs to be adapted to no longer modify the shebang when packaging the upstream for Cygwin, as the original unmodified shebang works out of the box. -- Irfan -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple