3 ms·
But if the shell script is trivial, why not just give the binary its runtime constraints via arguments or environment variables? IMHO configuration management
by zeptomu 10y ago
But if the shell script is trivial, why not just give the binary its runtime constraints via arguments or environment variables?
IMHO configuration management overlaps with dependency hell, or could be seen as a dependency. You do not have to bake the dependency into the binary, but just have to setup the runtime environment.
- majewsky 10y agoPutting a shell script in front of a third-party binary is easier than setting up a build pipeline to build that binary with the modifications that you need, and maintaining those patches across releases. (And that's implying that you have the source code for the binary at all.) Of course, the perfect solution is to upstream the necessary changes into the binaries that you need, so that you can supply all configuration via args and env.