1From 2ce67b1f4b1f582d556ae058da10698bbaa0edc1 Mon Sep 17 00:00:00 2001
2From: Ovidiu Panait <ovidiu.panait@windriver.com>
3Date: Mon, 13 Jul 2020 12:12:31 +0300
4Subject: [PATCH] nss: fix incorrect shebang of perl
5
6Replace incorrect shebang of perl with `#!/usr/bin/env perl'.
7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9Upstream-Status: Pending
10Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
11
12---
13 nss/cmd/signver/examples/1/form.pl       | 2 +-
14 nss/cmd/signver/examples/1/signedForm.pl | 2 +-
15 nss/cmd/smimetools/smime                 | 2 +-
16 nss/coreconf/version.pl                  | 2 +-
17 nss/tests/clean_tbx                      | 2 +-
18 nss/tests/iopr/server_scr/client.cgi     | 2 +-
19 nss/tests/path_uniq                      | 2 +-
20 7 files changed, 7 insertions(+), 7 deletions(-)
21
22diff --git a/nss/cmd/signver/examples/1/form.pl b/nss/cmd/signver/examples/1/form.pl
23index f2cfddc..af58d54 100755
24--- a/nss/cmd/signver/examples/1/form.pl
25+++ b/nss/cmd/signver/examples/1/form.pl
26@@ -1,4 +1,4 @@
27-#! /usr/bin/perl
28+#!/usr/bin/env perl
29 # This Source Code Form is subject to the terms of the Mozilla Public
30 # License, v. 2.0. If a copy of the MPL was not distributed with this
31 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
32diff --git a/nss/cmd/signver/examples/1/signedForm.pl b/nss/cmd/signver/examples/1/signedForm.pl
33index 847814c..64a31ff 100755
34--- a/nss/cmd/signver/examples/1/signedForm.pl
35+++ b/nss/cmd/signver/examples/1/signedForm.pl
36@@ -1,4 +1,4 @@
37-#! /usr/bin/perl
38+#!/usr/bin/env perl
39 # This Source Code Form is subject to the terms of the Mozilla Public
40 # License, v. 2.0. If a copy of the MPL was not distributed with this
41 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
42diff --git a/nss/cmd/smimetools/smime b/nss/cmd/smimetools/smime
43index e67f6be..6cd85e6 100755
44--- a/nss/cmd/smimetools/smime
45+++ b/nss/cmd/smimetools/smime
46@@ -1,4 +1,4 @@
47-#!/usr/local/bin/perl
48+#!/usr/bin/env perl
49
50 # This Source Code Form is subject to the terms of the Mozilla Public
51 # License, v. 2.0. If a copy of the MPL was not distributed with this
52diff --git a/nss/coreconf/version.pl b/nss/coreconf/version.pl
53index d2a4942..3ba7323 100644
54--- a/nss/coreconf/version.pl
55+++ b/nss/coreconf/version.pl
56@@ -1,4 +1,4 @@
57-#!/usr/sbin/perl
58+#!/usr/bin/env perl
59 #
60 # This Source Code Form is subject to the terms of the Mozilla Public
61 # License, v. 2.0. If a copy of the MPL was not distributed with this
62diff --git a/nss/tests/clean_tbx b/nss/tests/clean_tbx
63index 4de9555..c15a069 100755
64--- a/nss/tests/clean_tbx
65+++ b/nss/tests/clean_tbx
66@@ -1,4 +1,4 @@
67-#! /bin/perl
68+#!/usr/bin/env perl
69
70 #######################################################################
71 #
72diff --git a/nss/tests/iopr/server_scr/client.cgi b/nss/tests/iopr/server_scr/client.cgi
73index 581ad06..34ea170 100644
74--- a/nss/tests/iopr/server_scr/client.cgi
75+++ b/nss/tests/iopr/server_scr/client.cgi
76@@ -1,4 +1,4 @@
77-#!/usr/bin/perl
78+#!/usr/bin/env perl
79
80 # This Source Code Form is subject to the terms of the Mozilla Public
81 # License, v. 2.0. If a copy of the MPL was not distributed with this
82diff --git a/nss/tests/path_uniq b/nss/tests/path_uniq
83index f29f60a..850332a 100755
84--- a/nss/tests/path_uniq
85+++ b/nss/tests/path_uniq
86@@ -1,4 +1,4 @@
87-#! /bin/perl
88+#!/usr/bin/env perl
89
90 ########################################################################
91 #
92