From 5ffc6460344b066c45c1b58394534ed64cac57b9 Mon Sep 17 00:00:00 2001 From: "Zane C. Bowers-Hadley" Date: Thu, 27 Oct 2022 19:48:13 -0500 Subject: [PATCH] rework it so it rewrites #! --- .gitignore | 2 +- Makefile.PL | 1 + bin/.exists | 0 {bin => src_bin}/lilith | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 bin/.exists rename {bin => src_bin}/lilith (99%) diff --git a/.gitignore b/.gitignore index 46533fa..e92912b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,7 @@ *.o *.pm.tdy *.bs -bin/.exists +bin/lilith # Devel::Cover cover_db/ diff --git a/Makefile.PL b/Makefile.PL index 581d568..6a4ab0b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -11,6 +11,7 @@ my %WriteMakefileArgs = ( LICENSE => 'artistic_2', MIN_PERL_VERSION => '5.006', INST_SCRIPT => 'bin', + EXE_FILES=>['src_bin/lilith'], CONFIGURE_REQUIRES => { 'ExtUtils::MakeMaker' => '0', }, diff --git a/bin/.exists b/bin/.exists new file mode 100644 index 0000000..e69de29 diff --git a/bin/lilith b/src_bin/lilith similarity index 99% rename from bin/lilith rename to src_bin/lilith index 7a61025..2b59c1a 100755 --- a/bin/lilith +++ b/src_bin/lilith @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!perl use strict; use warnings;