Apache OpenOffice (AOO) Bugzilla – Issue 70359
remove forced shell calls (+ prefix)
Last modified: 2013-08-07 15:34:52 UTC
the only required foced shell call i'm currently aware of are those top address 4nt internal commands. thus lots of useless shell calls are done for all platforms when executing commands.
hmm, hiding these in the shell specific tool variables (e.g. TOUCH) leads to ugly constructs like cd some_dir && $(TOUCH:s/+//) some_file any idea?
Yes, make '&' and '|' and '^' (for 4nt) SHELLMETAs. (Thet might be already)
the idea behind this was to define e.g. TOUCH=+touch for 4nt only and get rid of the "+" prefix for all other shells. this leads to the problem in my previous comment. extending SHELLMETAS doesn't help on single command use like $(TOUCH) some_file
Hmm, how about defining two touch macros, one for standalone recipes with the + STOUCH=+touch and one for composite recipes. TOUCH=touch Still ugly but no need for the s/+// anymore. And if someone uses the "wrong" macro there will be a build error, easy to spot.
all gone in m199
Code review for this issue really is no fun, but finally I've made it. Verified on CWS ause069.
close this for now... sure to need a second round to remove new ones. will do that in new issues