[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SHELL variable and its value from user’s e nvironment
From: |
Eli Zaretskii |
Subject: |
Re: SHELL variable and its value from user’s e nvironment |
Date: |
Sun, 02 Jan 2011 06:24:23 -0500 |
> Date: Sun, 2 Jan 2011 09:42:40 +0330
> From: ali hagigat <address@hidden>
>
> 5.3.2 Choosing the Shell
> Furthermore, when you do set SHELL in your makefile that value is not
> exported in the
> environment to recipe lines that make invokes. Instead, the value
> inherited from the user’s
> environment, if any, is exported.
> -----------------------------------------------------------------------------
> Would you please give an example?(when SHELL value is inherited from the
> user’s
> environment)
>From the Unix shell prompt, type "env | fgrep SHELL". Whatever value
you see will be exported to the environment of the commands that Make
invokes; the value of SHELL set in the Makefile, if any, will _not_ be
exported.