commit | 88b5a391bc2f9eb85066219e453682a746730ead | [log] [tgz] |
---|---|---|
author | Aaron Carroll <aaronc@gelato.unsw.edu.au> | Tue Oct 07 11:25:20 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Oct 07 11:25:20 2008 +0200 |
tree | b49f15da14d1dbdb5173073b4730cebd88e1e78f | |
parent | 2e8552b07140abd723bf30e9a13613b639eb6b83 [diff] |
Add environment-variable substitution to config options Strings of the form ${VARNAME} in config option strings are substituted with the value of the environment variable VARNAME. Only the right hand side of an option assignment undergoes substitution. If VARNAME is empty or undefined, the empty string is substituted. Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>