Currently, every block config needs to specify the bin option. However, if the block name is actually the same as the binary to run (this requires the binary to be in the search path, of course), then this option isn't technically required. In other words, if bin isn't specified, we should fall back to setting bin to the block's name.
This is especially important because having bin be mandatory breaks backwards compatibility with versions before the changes introduced with 9d5d7da.
Currently, every block config needs to specify the
bin
option. However, if the block name is actually the same as the binary to run (this requires the binary to be in the search path, of course), then this option isn't technically required. In other words, ifbin
isn't specified, we should fall back to settingbin
to the block's name.This is especially important because having
bin
be mandatory breaks backwards compatibility with versions before the changes introduced with 9d5d7da.