]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
If script ends up in shell, feed to perl
authorTom Tromey <tromey@redhat.com>
Tue, 28 Nov 1995 00:09:00 +0000 (00:09 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 28 Nov 1995 00:09:00 +0000 (00:09 +0000)
automake.in

index 4b8bf0877709851de328f3edb6bbdb8fa062f6aa..a7fe36426899e04559f62854b49c2da15c72b9b4 100755 (executable)
@@ -2,6 +2,9 @@
 # -*- perl -*-
 # @configure_input@
 
+eval "exec /usr/local/bin/perl -S $0 $*"
+    if $running_under_some_shell;
+
 # automake - create Makefile.in from Makefile.am
 # Copyright (C) 1994 Free Software Foundation, Inc.