Bug 219409
Summary: | multi-line commands don't work when SHELL is set | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ian Collier <imc> | ||||
Component: | make | Assignee: | Petr Machata <pmachata> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6 | CC: | mnewsome | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-02-22 17:58:59 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ian Collier
2006-12-12 22:37:22 UTC
Created attachment 143470 [details]
a Makefile showing the problem
Confirmed. Didn't find anything relevant in documentation. Didn't find related bug upstream, only several bugs with backshlash-eol handling. The problem arises when shell program, or any of its arguments, contain non-path characters. In that case, another shell is invoked, and whole command is passed through that. This includes e.g. cases when SHELL contents is quoted or back-ticked. White space is handled just fine, make will consider them argument separators. This works: SHELL:=/usr/bin/env python all:; @print 6,\ 5 This fails: SHELL:=/usr/bin/env ""python all:; @print 6,\ 5 Fixed in rawhide. |