yeoman/node-optipng-bin — pull request #21 by mdonoughe (2013-12-27 05:55:04+00:00)
Title: set prefix to /tmp/optipng/out when building

Without this patch, installation fails on Linux systems that cannot use the precompiled binaries and do not have /usr/local/share/man/man1/optipng.1 writable by the user, such as Debian armhf. This node module should not install man pages anyway.

It looks like there is an underescaping bug on these lines that could cause problems if any parent directories contain special characters. I'm not sure how big of a deal that really is and I don't know how to fix it properly cross-platform without modifying bin-wrapper to use a build function instead of a shell command.