[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63016] Recursive variable references itself (eventually) when expo
From: |
Paul D. Smith |
Subject: |
[bug #63016] Recursive variable references itself (eventually) when exporting to $(shell) |
Date: |
Thu, 8 Sep 2022 03:09:44 -0400 (EDT) |
Update of bug #63016 (project make):
Status: None => Fixed
Assigned to: None => psmith
Open/Closed: Open => Closed
Fixed Release: None => SCM
Triage Status: None => Small Effort
_______________________________________________________
Follow-up Comment #1:
I pushed a fix. I think it might be possible to do better: one can imagine a
situation where you wouldn't treat the expansion of a variable to put into the
environment as a recursive expansion of a variable used in a recipe. But to
do that would require more work and I couldn't convince myself (or find an
example makefile) where it would make a real difference.
In this change, variables that are recursively expanded into the environment
of a shell function will be set as the empty string rather than throwing an
error.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63016>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/