Fix shebang

cause perl needs a regular shebang even when evoking the script
directly with perl
This commit is contained in:
Sandro Jäckel 2020-06-30 09:01:00 +02:00 committed by Richard Hansen
parent 06851b770e
commit 86a3294b0f
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ CLEANFILES =
# Command that replaces substitution variables with their values. # Command that replaces substitution variables with their values.
subst = sed \ subst = sed \
-e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \ -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|@localstatedir[@]|$(localstatedir)|g' \
-e 's|@runstatedir[@]|$(runstatedir)|g' \ -e 's|@runstatedir[@]|$(runstatedir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g' -e 's|@sysconfdir[@]|$(sysconfdir)|g'

View file

@ -1,4 +1,4 @@
#!@PERL@ #!/usr/bin/perl
###################################################################### ######################################################################
# #
# DDCLIENT - a Perl client for updating DynDNS information # DDCLIENT - a Perl client for updating DynDNS information