Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH 2/4] Util/helpfiles: use /usr/bin/env in shebang line



This doesn't hard code the path to perl when called by ./helpfiles.

This also fixes execution of the script on systems like linux,
which do not support more than one argument in the #! lne.
---
 Util/helpfiles | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Util/helpfiles b/Util/helpfiles
index cdce888..9e611d7 100755
--- a/Util/helpfiles
+++ b/Util/helpfiles
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -- -*-perl-*-
+#!/usr/bin/env perl
 
 # helpfiles:  make help files for Z-shell builtins from the manual entries.
 
-- 
1.9.0



Messages sorted by: Reverse Date, Date, Thread, Author