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 almost 4 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit ae24175b2b25e9fb4bfd9ac0648b57e0735b6651 Author: Cyril Plisko <firstname.lastname@example.org> Date: 2015-11-02T17:56:18.000Z 6391 Override default SPA config location via environment Reviewed by: Brian Behlendorf <email@example.com> Reviewed by: Richard Yao <firstname.lastname@example.org> Reviewed by: Matthew Ahrens <email@example.com> Reviewed by: Will Andrews <firstname.lastname@example.org> Reviewed by: George Wilson <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>