From 86a3294b0ff87174883adfae08c0bbee2259b37a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 30 Jun 2020 09:01:00 +0200 Subject: [PATCH] Fix shebang cause perl needs a regular shebang even when evoking the script directly with perl --- Makefile.am | 2 +- ddclient.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index cd587b3..d0970e8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,7 +27,7 @@ CLEANFILES = # Command that replaces substitution variables with their values. subst = sed \ -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \ - -e 's|@PERL[@]|$(PERL)|g' \ + -e '1 s|^\#\!.*perl$$|\#\!$(PERL)|g' \ -e 's|@localstatedir[@]|$(localstatedir)|g' \ -e 's|@runstatedir[@]|$(runstatedir)|g' \ -e 's|@sysconfdir[@]|$(sysconfdir)|g' diff --git a/ddclient.template b/ddclient.template index e97c7b2..2491858 100755 --- a/ddclient.template +++ b/ddclient.template @@ -1,4 +1,4 @@ -#!@PERL@ +#!/usr/bin/perl ###################################################################### # # DDCLIENT - a Perl client for updating DynDNS information