Contents of /tags/mkinitrd-6_4_0/klibc/git-rm-for-kernel.sh
Parent Directory | Revision Log
Revision 1313 -
(show annotations)
(download)
(as text)
Fri May 27 18:20:23 2011 UTC (13 years, 4 months ago) by niro
File MIME type: application/x-sh
File size: 362 byte(s)
Fri May 27 18:20:23 2011 UTC (13 years, 4 months ago) by niro
File MIME type: application/x-sh
File size: 362 byte(s)
tagged 'mkinitrd-6_4_0'
1 | #!/bin/sh |
2 | if [ -z "$RM" ]; then |
3 | export RM='git 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 |