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 return
} }
cmd = exec.Command("find", "~/.out-of-tree/kernels/modules", cmd = exec.Command("find", target+"modules", "-type", "l", "-delete")
"-type", "l", "-delete")
rawOutput, err = cmd.CombinedOutput() rawOutput, err = cmd.CombinedOutput()
if err != nil { if err != nil {
log.Println(string(rawOutput)) log.Println(string(rawOutput))