1
0

Use already defined path

This commit is contained in:
dump_stack() 2023-02-15 11:57:15 +00:00
parent 3f79c8e461
commit f6b6b823a9
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -489,8 +489,7 @@ func copyKernels(name string) (err error) {
return
}
cmd = exec.Command("find", "~/.out-of-tree/kernels/modules",
"-type", "l", "-delete")
cmd = exec.Command("find", target+"modules", "-type", "l", "-delete")
rawOutput, err = cmd.CombinedOutput()
if err != nil {
log.Println(string(rawOutput))