fix: keep target with random name
This commit is contained in:
parent
8486a0337d
commit
304bb74ecf
3
pew.go
3
pew.go
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user