[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make on XP - shell selection?
From: |
Yongwei Wu |
Subject: |
Re: Make on XP - shell selection? |
Date: |
Mon, 22 Oct 2007 12:56:21 +0800 |
On 21/10/2007, grischka <address@hidden> wrote:
> We can initialize SHELL either fixed to COMSPEC, or fixed to "sh",
> optionally from the environment (SHELL or MAKESHELL), or based on PATH
> search as currently (which I think is evil, though).
>
> As 'default shell' on windows is a political question, I can only
> vote. I think a good compromise is COMSPEC as default, and MAKESHELL
> from the environment if set. It means dependency on environment too,
> but at least if you set it you know you have set it, and it does not
> change if you change PATH. So there is less surprise.
I like this idea: mysteriously changing the behaviour of a Makefile
because of a sh.exe somewhere in the path was a surprise to me. If
one does want sh, set SHELL or MAKESHELL. If neither of them is
present, COMSPEC is a good guess.
Best regards,
Yongwei
--
Wu Yongwei
URL: http://wyw.dcweb.cn/
- Re: Make on XP - shell selection?, (continued)
- Re: Make on XP - shell selection?, grischka, 2007/10/20
- Re: Make on XP - shell selection?, grischka, 2007/10/21
- Re: Make on XP - shell selection?, Eli Zaretskii, 2007/10/21
- Re: Make on XP - shell selection?,
Yongwei Wu <=
- RE: Make on XP - shell selection?, Dave Korn, 2007/10/23
- Re: Make on XP - shell selection?, grischka, 2007/10/23
- Re: Make on XP - shell selection?, Earnie Boyd, 2007/10/24
- RE: Make on XP - shell selection?, Dave Korn, 2007/10/24
- Re: Make on XP - shell selection?, grischka, 2007/10/25
- Re: Make on XP - shell selection?, Eli Zaretskii, 2007/10/22