Issue 50091 - dmake doesn't echo shell escape comands
Summary: dmake doesn't echo shell escape comands
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: dmake (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: hjs
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-31 02:05 UTC by quetschke
Modified: 2013-08-07 15:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Patch to echo shell escapes (664 bytes, patch)
2005-05-31 02:07 UTC, quetschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2005-05-31 02:05:19 UTC
In contrast to its man page
--------------------------
              $(shell command)
                     Runs  command as if it were part of a recipe and returns,
                     separated by a single  space,  all  the  non-white  space
                     terms written to stdout by the command.
                     (snip)
                     current directory.  The recipe modification flags  [+@%-]
                     are honored if they appear as the first characters in the
                     command.  For example:
---------------------------
the @ flag, or the -vr switch is not honored, i.e. $(shell commands) are
never echoed.
Comment 1 quetschke 2005-05-31 02:07:35 UTC
Created attachment 26727 [details]
Patch to echo shell escapes
Comment 2 quetschke 2005-05-31 02:11:19 UTC
The previous patch enables the echoing of $(shell ...) commands. I'll commit
after I verified that the new verbosity doesn't disturb the OOo build.
Comment 3 quetschke 2005-06-02 00:49:50 UTC
The OOo build finished successfully. I committed a slightly changed version
of the patch to dmake43p01. Now dmake issues something like this:

dmake: Executing shell macro: <command>

for every use of a $(shell <command>) function macro.

Note: You can silence this verbosity by using "@", i.e. $(shell @<command>).
Comment 4 quetschke 2005-06-02 00:50:17 UTC
Please verify.
Comment 5 hjs 2006-04-06 17:41:54 UTC
.
Comment 6 hjs 2006-04-21 17:31:02 UTC
.