Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 2/4] Util/helpfiles: use /usr/bin/env in shebang line
- X-seq: zsh-workers 32400
- From: m0viefreak <m0viefreak.cm@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 2/4] Util/helpfiles: use /usr/bin/env in shebang line
- Date: Mon, 17 Feb 2014 05:07:57 +0100
- Cc: m0viefreak <m0viefreak.cm@xxxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mCkYt9O93WqBIkIj1X1PlfgOXbgVJixV5NMmT2L65Hc=; b=1Czs8fRIOgEIIkJEC3qlExvkODddntAPlYRF9g0do1cuHwooLrZFIcbMqrYMtRfATd 5Ji7x45yAjZaU6vqNdJtNAutpr5PTyS0LRbRUcr4/k3TuVCnAZZpyaVVnB2hrzd8mx0i Dw2qrhyxzdYkdD4pSWZjpoo+31Y7VzoDqohz6tPJIN2QAIpi9B+T40HS41VN7ynDSw8R b1y/wc/stsD6/EibNAGzwUPyzfYDfOULQeySDszKNDFOUOsj6e8PzWDDUqYq0dtc6Q5Y Ypgf0TfARE+FjyeM+VxqLgNy0qLQ8HfplyJ5F0GPfe7bjbx2rt0dR7Ze8m4hAnGV0wpn BLxA==
- In-reply-to: <1392610079-2632-1-git-send-email-m0viefreak.cm@googlemail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1392610079-2632-1-git-send-email-m0viefreak.cm@googlemail.com>
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