Brad Bishop | c8f4712 | 2019-06-24 09:36:18 -0400 | [diff] [blame] | 1 | From 260ebd15e16cd86b9b58e5c5f3a496b3853ca46d Mon Sep 17 00:00:00 2001 |
| 2 | From: Joshua Watt <JPEWhacker@gmail.com> |
| 3 | Date: Mon, 17 Jun 2019 10:47:23 -0500 |
| 4 | Subject: [PATCH 2/2] Constant: Fix up shebang |
| 5 | |
| 6 | The instructions indicate that the script should be explicitly passed to |
| 7 | "perl -x", so automatically setting the #! to be ^X is unnecessary and |
| 8 | makes the file non-reproducible when building because ^X could be the |
| 9 | absolute path to miniperl. |
| 10 | |
| 11 | Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 12 | Upstream-Status: Submitted [https://rt.cpan.org/Public/Bug/Display.html?id=129866] |
Brad Bishop | c8f4712 | 2019-06-24 09:36:18 -0400 | [diff] [blame] | 13 | --- |
| 14 | cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm |
| 18 | index 14eb809714..d4d074e121 100644 |
| 19 | --- a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm |
| 20 | +++ b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm |
| 21 | @@ -219,7 +219,7 @@ sub dogfood { |
| 22 | Regenerate these constant functions by feeding this entire source file to |
| 23 | perl -x |
| 24 | |
| 25 | -#!$^X -w |
| 26 | +#!/usr/bin/env perl -x -w |
| 27 | use ExtUtils::Constant qw (constant_types C_constant XS_constant); |
| 28 | |
| 29 | EOT |
| 30 | -- |
| 31 | 2.21.0 |
| 32 | |