]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
bin: Rely only on the shebang line
authorMathieu Lirzin <mthl@gnu.org>
Tue, 20 Feb 2018 22:18:09 +0000 (23:18 +0100)
committerMathieu Lirzin <mthl@gnu.org>
Sun, 11 Mar 2018 22:42:45 +0000 (23:42 +0100)
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.

bin/aclocal.in
bin/automake.in

index b3715d9c63c2e2de547b23c1bdd3854db0ca1099..722affa559fadad77a3c3e64607e153387bde674 100644 (file)
@@ -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
index a52a48951b02b158d68e0d55e4985a04e8cf68e6..b4ae8f43f1064ee8ac229676dbcc69c402fce687 100644 (file)
@@ -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