Subject: CVS commit: pkgsrc
From: Roland Illig
Date: 2019-03-24 09:40:08
Message id: 20190324084008.2E4F4FB16@cvs.NetBSD.org

Log Message:
mk/tools: fix quoting when logging tool invocations

When a package or the infrastructure defined a tool with custom
TOOLS_ARGS or TOOLS_SCRIPT containing special characters, these could
lead to unintuitive interactions at the time when that tool invocation
was logged in the tool wrapper log. Some of the logging output ended up
on stdout, while some of the normal output ended up in the log, and parts
of the quoted arguments were even evaluated as shell commands.

The logging of the wrapped tool commands is not perfect yet, but at least
it's much more predictable now.

Files:
RevisionActionfile
1.14modifypkgsrc/regress/tools/Makefile
1.5modifypkgsrc/regress/tools/files/logging-test.sh