chiark / gitweb /
more portable perl shebangs (#7701)
authorJörg Thalheim <Mic92@users.noreply.github.com>
Tue, 19 Dec 2017 10:13:34 +0000 (10:13 +0000)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:39 +0000 (07:49 +0200)
same motivation as in #5816:

- distributions have scripts to rewrite shebangs on installation and
  they know what locations to rely on.
- For tests/compilation we should rather rely on the user to have setup
  there PATH correctly.

tools/check-includes.pl

index 079708397a8c90cba99faf1a074c7fad3b93f803..7f049da6d853deaf1d06d356f69a2e1e6e71f2b2 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #
 # checkincludes: Find files included more than once in (other) files.
 # Copyright abandoned, 2000, Niels Kristian Bech Jensen <nkbj@image.dk>.