| Summary: | shell command assignment error | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Curtis Doty <curtis> |
| Component: | make | Assignee: | Petr Machata <pmachata> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | mnewsome, pmachata |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-12 11:05:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Curtis Doty
2011-12-09 23:39:39 UTC
It looks like I last used that Makefile on Fedora 13. It didn't error back then. This never worked, shell assignment was never supported in GNU make that I know of. It's just semi-properly reported now. What happened on F13 was that make would assume that "WTF !" was wariable name. With the workaround, it just assumes that "WTF!" is a variable name. (The following is make from F13.) $ ./make -f /dev/stdin <<EOF XXX != pwd all:; echo .\$(XXX). EOF echo .. .. $ ./make -f /dev/stdin <<EOF XXX != pwd all:; echo .\$(XXX !). EOF echo .pwd. .pwd. (And now with the work-around and a recent make.) $ make -f /dev/stdin <<EOF XXX!= pwd all:; echo .\$(XXX). EOF echo .. .. $ make -f /dev/stdin <<EOF XXX!= pwd all:; echo .\$(XXX!). EOF echo .pwd. .pwd. |