[Libosinfo] [osinfo-db-tools PATCH 2/2] bracket-spacing: Don't hardcode Perl interpreter path

Andrea Bolognani abologna at redhat.com
Mon Sep 18 13:03:33 UTC 2017


This is particularly useful on operating systems that don't ship
Perl as part of the base system (eg. FreeBSD) while still working
just as well as it did before on Linux.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 build-aux/bracket-spacing.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/bracket-spacing.pl b/build-aux/bracket-spacing.pl
index e4ae8f0..655dac0 100755
--- a/build-aux/bracket-spacing.pl
+++ b/build-aux/bracket-spacing.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #
 # bracket-spacing.pl: Report any usage of 'function (..args..)'
 # Also check for other syntax issues, such as correct use of ';'
-- 
2.13.5




More information about the Libosinfo mailing list