[bug #67265] $(file) in commands is executed too early
Zack Weinberg <[email protected]> Mon, 30 Jun 2025 11:41:08 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #3, bug #67265 (group make):
1. The point of the bug report is that $(file) *should be* processed later
than other $(...) constructs. Having said that, it would probably be
sufficient, and perhaps a less invasive change, to do $(...) expansion of
*each line of a command list* independently, after execution of the previous
line.
2. I am already aware of several alternative ways to do the same operation
that would avoid the bug. The existence of those alternatives does not mean
the current behavior of $(file) isn't a bug.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67265>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaGKwFAAKCRCqLAuaBUf3 TgvSAQDCThNby6IqvZr7iKNGr9L6z2/YA0ecZuVtp0tQynWgPgEAyZ22y2abK8Fn ozOGWS9+l6ZVM2KsGJ/MGzCU6qk/uwc= =U9ao -----END PGP SIGNATURE-----