summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2018-02-20 23:18:09 +0100
committerMathieu Lirzin <mthl@gnu.org>2018-03-11 23:42:45 +0100
commit51823f144c513007d8c05f3c6c88732e91bd13fd (patch)
tree2a40285e00ca55751e6da672b2857c570c52532d
parent48c75cb8973898fbf51de68052185b1e7b8d321a (diff)
downloadautomake-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.
-rw-r--r--bin/aclocal.in8
-rw-r--r--bin/automake.in7
2 files changed, 2 insertions, 13 deletions
diff --git a/bin/aclocal.in b/bin/aclocal.in
index b3715d9c6..722affa55 100644
--- a/bin/aclocal.in
+++ b/bin/aclocal.in
@@ -1,12 +1,6 @@
#!@PERL@ -w
-# -*- perl -*-
+# aclocal - create aclocal.m4 by scanning configure.ac -*- perl -*-
# @configure_input@
-
-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
- if 0;
-
-# aclocal - create aclocal.m4 by scanning configure.ac
-
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
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