Magellan Linux

Annotation of /tags/mkinitrd-6.1.5/klibc/cg-rm-for-kernel.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 898 - (hide annotations) (download) (as text)
Wed Aug 5 17:52:14 2009 UTC (14 years, 9 months ago) by niro
File MIME type: application/x-sh
File size: 361 byte(s)
tagged 'mkinitrd-6.1.5'
1 niro 532 #!/bin/sh
2     if [ -z "$RM" ]; then
3     export RM='cg-rm -rf'
4     fi
5    
6     nuke () {
7     find "$@" -print | sort -r | xargs -rt $RM
8     }
9    
10     nuke README Kbuild Makefile defconfig klibc.spec.in *.sh
11     nuke contrib klcc
12    
13     # These files are either not needed or provided from the
14     # kernel tree
15     nuke scripts/Kbuild.include scripts/Kbuild.install
16     nuke scripts/Makefile.*
17     nuke scripts/basic

Properties

Name Value
svn:executable *