From 4d275205aeb975dc98ee22259755eba071399e81 Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Tue, 15 Apr 2014 12:41:09 -0700 Subject: [PATCH] Expand environment variabes in config.json. Closes #84. --- cmd/cmd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/cmd.go b/cmd/cmd.go index ab0019c..58fac9b 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -94,10 +94,10 @@ func readConf() { } if node, ok := root["driver"].(string); ok { - driver = node + driver = os.ExpandEnv(node) } if node, ok := root["source"].(string); ok { - source = node + source = os.ExpandEnv(node) } }