Fix segfault from 9fccdcb

9fccdcb renamed a variable, but didn't update all uses of the variable.
This commit is contained in:
Stuart Reilly 2020-05-04 11:31:20 +00:00 committed by J Guerreiro
parent 9fccdcb30f
commit db3993b83b

View file

@ -188,7 +188,7 @@ func defaultSettings() *Configuration {
}
if os.Getenv("XDG_CACHE_HOME") != "" {
config.BuildDir = "$XDG_CACHE_HOME/yay"
newConfig.BuildDir = "$XDG_CACHE_HOME/yay"
}
return newConfig