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