build: add FlagDir variable in prebuild code.
This commit is contained in:
parent
6325314825
commit
c6a048c9ca
2 changed files with 3 additions and 1 deletions
|
|
@ -13,11 +13,13 @@ var (
|
|||
DistDir *paths.Path
|
||||
Root *paths.Path
|
||||
RootApparmord *paths.Path
|
||||
FlagDir *paths.Path
|
||||
)
|
||||
|
||||
func init() {
|
||||
DistDir = paths.New("dists")
|
||||
Root = paths.New(".build")
|
||||
FlagDir = DistDir.Join("flags")
|
||||
RootApparmord = Root.Join("apparmor.d")
|
||||
Distribution = getSupportedDistribution()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue