Subject: | [PATCH] shebang replacement does not happen |
bin/fatpack has '#!/usr/bin/env perl' in the shebang, which is not changed by ExtUtils::MakeMaker. This means that in some configurations (e.g. using a custom perl without having this perl as the first one in user's $PATH) running fatpack does not work.
Attached patch fixes the problem.
Subject: | 0001-bin-fatpack-fix-shebang.patch |
From 3c5d67f1f1b76be41835732942655dbfb93f733b Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven.rezic@idealo.de>
Date: Tue, 16 May 2017 13:16:09 +0200
Subject: [PATCH] bin/fatpack: fix shebang
---
bin/fatpack | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/fatpack b/bin/fatpack
index 1dfc7d8..b9aa5a1 100755
--- a/bin/fatpack
+++ b/bin/fatpack
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
use App::FatPacker -run_script;
--
1.7.9.5