diff --git a/pisi/actionsapi/kerneltools.py b/pisi/actionsapi/kerneltools.py index bcba8b37..5ba0c3b2 100644 --- a/pisi/actionsapi/kerneltools.py +++ b/pisi/actionsapi/kerneltools.py @@ -196,7 +196,7 @@ def installSource(): shelltools.cd(os.path.join(get.installDIR(), destination)) autotools.make("clean") autotools.make("modules_prepare") - shelltools.system("find . -path './.*' -exec rm -rf '{}' \;") + shelltools.system("find . -path './.*' | xargs rm -rf") def cleanModuleFiles(): """ Cleans module.* files generated by depmod """