]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
more portable perl shebangs (#7701)
authorJörg Thalheim <Mic92@users.noreply.github.com>
Tue, 19 Dec 2017 10:13:34 +0000 (10:13 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 19 Dec 2017 10:13:34 +0000 (11:13 +0100)
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.

test/udev-test.pl
tools/check-includes.pl

index 0d348e5c08c360c04986832a6f6ecaac65c356be..20f662eb3b100eb6177bdbe1c7b1f507bd028cf3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 # udev test
 #
index bf23929d4781069eca2f634502337aefe2de4ebb..6aae7c15348be7e2d6c1458234757c24089e00d3 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>.