From: Michal Rokos <michal.rokos@nextsoft.cz>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: [Patch] Using 'perl' in *.sh
Date: Mon, 10 Jul 2006 07:41:26 +0200 [thread overview]
Message-ID: <200607100741.26377.michal.rokos@nextsoft.cz> (raw)
In-Reply-To: <7v4pxqfri7.fsf@assigned-by-dhcp.cox.net>
Hi,
On Sunday 09 July 2006 22:33, Junio C Hamano wrote:
> Invocation of perl _in_ scripts can be controlled by user's
> PATH, but #! cannot be. As Merlyn says 'env' is a nice hack,
> but we configure the scripts we install to have #! pointing at
> the right interpreter as a more cleaner (than using 'env', that
> is) workaround anyway, so #! pointing at PERL_PATH and scripts
> relying on user's $PATH would be the right thing to do.
I don't se the point. If you ask me, I'd say it should be either:
- controlled fully via env: which means 'perl' in scripts and /usr/bin/env in
*.perl; or
- set during install: which means 'full perl path' in scripts as well as in
*.perl
Any mixture of above makes no sence to me. I'm afraid that any consensus will
be hard to reach, but I don't see any other way round. (Well maybe some git
specific exec wrapper to come over some broken 'env' commands)
M.
--
Michal Rokos
NextSoft s.r.o.
Vyskočilova 1/1410
140 21 Praha 4
phone: +420 267 224 311
fax: +420 267 224 307
mobile: +420 736 646 591
e-mail: michal.rokos@nextsoft.cz
next prev parent reply other threads:[~2006-07-10 5:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-08 15:32 [Patch] Using 'perl' in *.sh Michal Rokos
2006-07-08 18:27 ` Junio C Hamano
2006-07-09 9:46 ` Alex Riesen
2006-07-09 9:51 ` Jan-Benedict Glaw
2006-07-09 10:14 ` Junio C Hamano
2006-07-09 12:41 ` Michal Rokos
2006-07-09 14:02 ` Randal L. Schwartz
2006-07-09 16:24 ` Jan-Benedict Glaw
2006-07-09 20:33 ` Junio C Hamano
2006-07-09 21:20 ` Jan-Benedict Glaw
2006-07-10 5:41 ` Michal Rokos [this message]
2006-07-10 13:09 ` Randal L. Schwartz
2006-07-10 13:16 ` Johannes Schindelin
2006-07-10 13:29 ` Randal L. Schwartz
2006-07-09 10:09 ` Yakov Lerner
2006-07-09 12:17 ` Alex Riesen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200607100741.26377.michal.rokos@nextsoft.cz \
--to=michal.rokos@nextsoft.cz \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.