diff --git a/pisi/actionsapi/kerneltools.py b/pisi/actionsapi/kerneltools.py index 68a02758..b8fa7847 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("rm -rf .*") + shelltools.system("find . -path './.*' -exec rm -f '{}' \;") def cleanModuleFiles(): """ Cleans module.* files generated by depmod """