summaryrefslogtreecommitdiff
path: root/meta-google/recipes-extended/libconfig/files/0001-conf2struct-Use-the-right-perl.patch
blob: 83402698ed376e3af4acc631ed399cb233e4b234 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From b44f0d3dbcadb20396dc83a2aa307d54490388ea Mon Sep 17 00:00:00 2001
From: "William A. Kennington III" <wak@google.com>
Date: Thu, 28 May 2020 23:07:58 -0700
Subject: [PATCH] conf2struct: Use the right perl

---
 conf2struct | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/conf2struct b/conf2struct
index 8d68741..b88a9b7 100755
--- a/conf2struct
+++ b/conf2struct
@@ -1,4 +1,5 @@
-#! /usr/bin/perl -w
+#!/usr/bin/env perl
+use warnings;
 
 my $license = <<EOF;
 # conf2struct: generate libconf parsers that read to structs
-- 
2.27.0.rc0.183.gde8f92d652-goog