variable expansion for directory paths

This commit is contained in:
Timon Ringwald 2022-09-18 19:55:09 +02:00
parent 858421789f
commit d2bd8b3413

View File

@ -55,7 +55,10 @@ func ReadConfigFile() error {
return err return err
} }
ConfigFile.TemplateDir = os.ExpandEnv(ConfigFile.TemplateDir)
ConfigFile.TargetDir = os.ExpandEnv(ConfigFile.TargetDir)
RecursiveEnvLookupForMap(ConfigFile.Globals) RecursiveEnvLookupForMap(ConfigFile.Globals)
return nil return nil
} }