1
0

fix: keep target with random name

This commit is contained in:
dump_stack() 2023-05-17 16:55:22 +00:00
parent 8486a0337d
commit 304bb74ecf
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

3
pew.go
View File

@ -239,8 +239,7 @@ func build(flog zerolog.Logger, tmp string, ka config.Artifact,
ki config.KernelInfo, dockerTimeout time.Duration) ( ki config.KernelInfo, dockerTimeout time.Duration) (
outdir, outpath, output string, err error) { outdir, outpath, output string, err error) {
target := fmt.Sprintf("%s-%s-%s", target := fmt.Sprintf("%d", rand.Int())
ki.DistroType, ki.DistroRelease, ki.KernelVersion)
outdir = tmp + "/source" outdir = tmp + "/source"