Use already defined path
This commit is contained in:
parent
3f79c8e461
commit
f6b6b823a9
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user