Open
Bug 682867
Opened 14 years ago
Updated 3 years ago
Builtin native commands should fall back to the shell if shell metacharacters are present
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: khuey, Unassigned)
Details
Attachments
(1 file)
|
3.50 KB,
patch
|
ted
:
review-
|
Details | Diff | Splinter Review |
I haven't actually tested this but it should work. For actual native commands we'll just die in the shell; I think that's ok.
Attachment #556579 -
Flags: review?(ted.mielczarek)
Comment 1•14 years ago
|
||
Comment on attachment 556579 [details] [diff] [review]
Patch
Review of attachment 556579 [details] [diff] [review]:
-----------------------------------------------------------------
::: pymake/data.py
@@ +1230,5 @@
> + loc=c.loc, context=makefile.context,
> + echo=echo, justprint=makefile.justprint,
> + pycommandpath=e)
> + except NeedsFullShellError:
> + isNative = False
This will just fail in a different way, since even things like $(RM) are "pymake.builtins rm". We need a better solution.
Attachment #556579 -
Flags: review?(ted.mielczarek) → review-
| Reporter | ||
Comment 2•14 years ago
|
||
Yeah, this won't work then. As I said on IRC though, it really sucks that $(RM) isn't safe to use in shell expressions in pymake.
| Reporter | ||
Updated•14 years ago
|
Assignee: khuey → nobody
Status: ASSIGNED → NEW
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•