1 From 857c843d4bcf576467b505eb05a47f3e7d32caaa Mon Sep 17 00:00:00 2001
2 From: Serhii Popovych <spopovyc@cisco.com>
3 Date: Wed, 10 Feb 2016 17:07:32 +0000
4 Subject: [PATCH] perl: Replace -w option in shebangs with modern "use
5 warnings" In some builds we might provide ac_cv_path_PERL as /usr/bin/env
6 perl to use newer version of the perl from users PATH rather than older from
9 However using /usr/bin/env perl -w from shebang line isn't
10 possible because it translates to something like
11 /usr/bin/env -w perl and env complains about illegal option.
13 To address this we can remove -w option from perl shebang
14 line and add "use warnings" statement.
16 Upstream-Status: Pending
17 Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
18 Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
21 bin/aclocal.in | 3 ++-
22 bin/automake.in | 3 ++-
23 2 files changed, 4 insertions(+), 2 deletions(-)
25 diff --git a/bin/aclocal.in b/bin/aclocal.in
26 index 9a20325..bd185d4 100644
32 # aclocal - create aclocal.m4 by scanning configure.ac -*- perl -*-
34 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
35 @@ -26,6 +26,7 @@ BEGIN
42 use Automake::General;
43 diff --git a/bin/automake.in b/bin/automake.in
44 index 5ed404a..d387b8e 100644
50 # automake - create Makefile.in from Makefile.am -*- perl -*-
52 # Copyright (C) 1994-2020 Free Software Foundation, Inc.