Support AURDEST

the AURDEST environment variable can now be used to configure the build
dir.
This commit is contained in:
morganamilo 2019-10-17 23:54:20 +01:00
parent 543d3afaa7
commit 35b2297f1e
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E

View file

@ -48,6 +48,11 @@ func initConfig() error {
}
}
aurdest := os.Getenv("AURDEST")
if aurdest != "" {
config.BuildDir = aurdest
}
return nil
}