This is more readeable

This commit is contained in:
Ozan Çağlayan
2009-04-08 18:43:47 +00:00
parent 432d6749d1
commit 9d30ada502
+2 -2
View File
@@ -26,7 +26,7 @@ from pisi.actionsapi.shelltools import system
from pisi.actionsapi.shelltools import makedirs
from pisi.actionsapi.shelltools import copytree
def installHeaders(*additionalDirs):
def installHeaders(extra=[]):
""" Install the files needed to build out-of-tree kernel modules. """
pruned = ["include", "scripts"]
wanted = ["Makefile*", "Kconfig*", "Kbuild*", "*.sh", "*.pl", "*.lds"]
@@ -44,7 +44,7 @@ def installHeaders(*additionalDirs):
system(find_cmd)
# Install additional headers passed by actions.py
for d in additionalDirs:
for d in extra:
system("cp -a %s/*.h %s/%s" % (d, destination, d))
# Install remaining headers