From 388c63f20579509db8cdb847b65008771075dac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Wed, 8 Apr 2009 18:18:59 +0000 Subject: [PATCH] installHeaders is okay. --- pisi/actionsapi/kerneltools.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pisi/actionsapi/kerneltools.py b/pisi/actionsapi/kerneltools.py index ae3f3c88..e2359a13 100644 --- a/pisi/actionsapi/kerneltools.py +++ b/pisi/actionsapi/kerneltools.py @@ -44,11 +44,16 @@ def installHeaders(*additionalDirs): # Install additional headers passed by actions.py for d in additionalDirs: - system("cp -a %s/*.h %s/%s" % (destination, d)) + system("cp -a %s/*.h %s/%s" % (d, destination, d)) # Install remaining headers system("cp -a scripts include %s" % destination) + # Finally copy the include directories found in arch/ + system("(find arch -name include -type d -print | \ + xargs -n1 -i: find : -type f) | \ + cpio -pd --preserve-modification-time %s" % destination) + def installSource(): pass