[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65359] submake might will lose variable values if their names cont
From: |
Howard |
Subject: |
[bug #65359] submake might will lose variable values if their names contain special char |
Date: |
Sun, 25 Feb 2024 21:58:36 -0500 (EST) |
Follow-up Comment #2, bug#65359 (group make):
Hi, Martin,
Normally make variables are different with shell variables. Exported shell
variables can be seen by make. However, exported make variables cannot be seen
by shell in recipes.
I don't know whether submake gets make exported variables via shell variables.
But even if this is true, it cannot explain why the submake works well if
removing the ';' at the end of the recipe (which invokes submake).
[comment #1 comment #1:]
> Because then Make runs the command with a shell and, perhaps particularly
after Shellshock, shells are increasingly diligent about cleaning the
environment (eg
https://stackoverflow.com/questions/36989263/why-cant-environment-variables-with-dashes-be-accessed-in-bash-4-1-2),
so what could Make do? I guess it could warn that your export is unlikely to
work reliably.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65359>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #65359] submake might will lose variable values if their names contain special char, Howard, 2024/02/24
- [bug #65359] submake might will lose variable values if their names contain special char, Martin Dorey, 2024/02/24
- [bug #65359] submake might will lose variable values if their names contain special char,
Howard <=
- [bug #65359] submake might will lose variable values if their names contain special char, Dmitry Goncharov, 2024/02/25
- [bug #65359] submake might will lose variable values if their names contain special char, Martin Dorey, 2024/02/25
- [bug #65359] submake might will lose variable values if their names contain special char, Howard, 2024/02/26
- [bug #65359] submake might will lose variable values if their names contain special char, Howard, 2024/02/26
- [bug #65359] submake might will lose variable values if their names contain special char, Paul D. Smith, 2024/02/26