Override default SPA config location via environment
When using zdb with non-default SPA config file it is not convenient
to add -U <non-default-config-file-path> all the time. This commit
introduces support for setting/overriding SPA config location via
environment variable 'SPA_CONFIG_PATH'.
If -U flag is specified in the command line it will override any other
value as usual.
Updated by Electric Monk about 4 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit ae24175b2b25e9fb4bfd9ac0648b57e0735b6651 Author: Cyril Plisko <email@example.com> Date: 2015-11-02T17:56:18.000Z 6391 Override default SPA config location via environment Reviewed by: Brian Behlendorf <firstname.lastname@example.org> Reviewed by: Richard Yao <email@example.com> Reviewed by: Matthew Ahrens <firstname.lastname@example.org> Reviewed by: Will Andrews <email@example.com> Reviewed by: George Wilson <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>