Formaline Optionally use non-system Perl

Issue #2811 new
Yosef Zlochower created an issue

During the last stage of the build process, makeblob.pl, under Formaline/src/utils/ is run. The build fails if /usr/bin/perl is missing or doesn’t have the necessary modules included. I got around this issue by compiling my own version of perl and replacing “#! /usr/bin/perl -w” with “#! /usr/bin/env -S perl -w”

diff --git a/Formaline/src/util/makeblob.pl b/Formaline/src/util/makeblob.pl
index e5bcafd..bcc2084 100755
--- a/Formaline/src/util/makeblob.pl
+++ b/Formaline/src/util/makeblob.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! /usr/bin/env -S  perl -w

 use diagnostics;
 use warnings;

Comments (0)

  1. Log in to comment