diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2018-02-20 23:18:09 +0100 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2018-03-11 23:42:45 +0100 |
commit | 51823f144c513007d8c05f3c6c88732e91bd13fd (patch) | |
tree | 2a40285e00ca55751e6da672b2857c570c52532d /bin/automake.in | |
parent | 48c75cb8973898fbf51de68052185b1e7b8d321a (diff) | |
download | automake-51823f144c513007d8c05f3c6c88732e91bd13fd.tar.gz |
bin: Rely only on the shebang line
Previously ‘automake’ and ‘aclocal’ were handling the case of being
interpreted as a Shell script by using a hack leveraging the fact that
Shell and Perl has a compatible syntax intersection allowing those
scripts to launch ‘perl’ from the shell.
* bin/aclocal.in: Remove cryptic launching hack.
* bin/automake.in: Likewise.
Diffstat (limited to 'bin/automake.in')
-rw-r--r-- | bin/automake.in | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/automake.in b/bin/automake.in index a52a48951..b4ae8f43f 100644 --- a/bin/automake.in +++ b/bin/automake.in @@ -1,11 +1,6 @@ #!@PERL@ -w -# -*- perl -*- +# automake - create Makefile.in from Makefile.am -*- perl -*- # @configure_input@ - -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' - if 0; - -# automake - create Makefile.in from Makefile.am # Copyright (C) 1994-2018 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify |