Skip to content

Commit 25d675a

Browse files
authored
Merge pull request #318 from thegushi/fix/perl-shebang
Detect perl path at configure time instead of hardcoding /usr/bin/perl
2 parents 9e2fbc2 + f2fe105 commit 25d675a

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ AC_SUBST([LIBOPENDMARC_VERSION_INFO])
9494
AC_PROG_CC
9595
AM_PROG_CC_C_O
9696
LT_INIT
97+
AC_PATH_PROG([PERL], [perl], [/usr/bin/perl])
9798

9899
PKG_PROG_PKG_CONFIG
99100

reports/opendmarc-expire.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/@PERL@
22
#
33
# Copyright (c) 2010-2012, 2014-2016, 2018, The Trusted Domain Project.
44
# All rights reserved.

reports/opendmarc-import.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/@PERL@
22
#
33
# Copyright (c) 2012, 2014, 2018, The Trusted Domain Project. All rights reserved.
44
#

reports/opendmarc-params.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/@PERL@
22
#
33
# Copyright (c) 2012, 2013, The Trusted Domain Project. All rights reserved.
44
#

reports/opendmarc-reports.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/@PERL@
22
#
33
# Copyright (c) 2012-2016, 2017-2018, The Trusted Domain Project.
44
# All rights reserved.

0 commit comments

Comments
 (0)