75229eb39f
I got a request to make Synth identify "redundant" cached option files, where "redundant" means the saved port options are identical to the default options. For Synth (and portmaster?) which use the port's cache options, these redundant files are somewhat of a liability. At best they do nothing (Synth assumes default options) and at worst they will cause a future build to stop if the maintainer changes the port options later. This situation is avoidable. Rather than build detection into Synth, I decided to write a generic shell script for ports. When run, it will display the full path to the port's options directory if the cached options are the same as the defaults. This output is suitable to pipe to "xargs rm -rf" to remove all the redundant options in a single command. |
||
---|---|---|
.. | ||
scripts | ||
make_index | ||
make_readmes |