make location of buildconf

This commit is contained in:
Christian Goll
2022-02-09 09:13:01 +01:00
parent 0c3de07d1e
commit 7b2d34f317
4 changed files with 14 additions and 5 deletions

View File

@@ -15,6 +15,7 @@ var (
wwprovisiondir string = "UNDEF"
version string = "UNDEF"
release string = "UNDEF"
wwclientloc string = "UNDEF"
)
func BINDIR() string {
@@ -76,3 +77,8 @@ func RELEASE() string {
wwlog.Printf(wwlog.DEBUG, "RELEASE = '%s'\n", release)
return release
}
func WWCLIENTLOC() string {
wwlog.Printf(wwlog.DEBUG, "WWCLIENTLOC = '%s'\n", wwclientloc)
return wwclientloc
}

View File

@@ -13,4 +13,5 @@ func init() {
wwprovisiondir = "@WWPROVISIONDIR@"
version = "@VERSION@"
release = "@RELEASE@"
wwclientloc = "@WWCLIENTLOC"
}